ssldump-0.9b3_2 fails to compile without this patch

Jukka A. Ukkonen jau at iki.fi
Tue Feb 12 03:44:09 UTC 2008


--- 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>


More information about the freebsd-ports mailing list