Added an #ifndef WIN32 to exclude an #include directive under VC6.
authorgianluca <gianluca>
Thu, 13 Sep 2007 17:18:10 +0000 (17:18 +0000)
committergianluca <gianluca>
Thu, 13 Sep 2007 17:18:10 +0000 (17:18 +0000)
print-pflog.c

index 3666091e3a515f801068d1258842b7775fb038ba..4291063c3711be609f3c1fc06b6d71d8aa3c800c 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-pflog.c,v 1.13.2.3 2007-09-12 19:48:51 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-pflog.c,v 1.13.2.4 2007-09-13 17:18:10 gianluca Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -31,12 +31,17 @@ static const char rcsid[] _U_ =
 #ifndef HAVE_NET_PFVAR_H
 #error "No pf headers available"
 #endif
+
 #include <sys/types.h>
+#ifndef WIN32
 #include <sys/socket.h>
+#endif
 #include <net/if.h>
 #include <net/pfvar.h>
 #include <net/if_pflog.h>
 
+
+
 #include <tcpdump-stdinc.h>
 
 #include <stdio.h>