Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 05:44:05 +0200 (EET)
From:      jau@iki.fi (Jukka A. Ukkonen)
To:        ports@FreeBSD.org
Subject:   ssldump-0.9b3_2 fails to compile without this patch
Message-ID:  <200802120344.m1C3i5mC099394@jau.iki.fi>

next in thread | raw e-mail | index | archive | help
--- base/pcap-snoop.c.orig	2008-02-12 05:35:06.000000000 +0200
+++ base/pcap-snoop.c	2008-02-12 05:35:14.926848000 +0200
@@ -47,9 +47,6 @@
 static char *RCSSTRING="$Id: pcap-snoop.c,v 1.14 2002/09/09 21:02:58 ekr Exp $";
 
 
-#include <pcap.h>
-#include <unistd.h>
-#include <net/bpf.h>
 #ifndef _WIN32
 #include <sys/param.h>
 #endif
@@ -62,6 +59,9 @@
 #include <bittypes.h>
 #endif
 #include <signal.h>
+#include <net/bpf.h>
+#include <pcap.h>
+#include <unistd.h>
 
 #include <net/if.h>
 #include <netinet/if_ether.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802120344.m1C3i5mC099394>