]> The Tcpdump Group git mirrors - libpcap/commitdiff
From Gisle Vanem:
authorGuy Harris <[email protected]>
Sat, 14 Feb 2009 22:31:47 +0000 (14:31 -0800)
committerGuy Harris <[email protected]>
Sat, 14 Feb 2009 22:31:47 +0000 (14:31 -0800)
* Added header-guard.

* Include IP6_misc.h unconditionally (why treat MingW specially?)

pcap-stdinc.h

index 32b52d8ff0821794d5681837be03ae33704ef1aa..f769a3bb4e1232493724724d880fabb9bba09e2e 100644 (file)
@@ -30,6 +30,8 @@
  *
  * @(#) $Header: /tcpdump/master/libpcap/pcap-stdinc.h,v 1.11 2008-10-06 15:27:32 gianluca Exp $ (LBL)
  */
+#ifndef pcap_stdinc_h
+#define pcap_stdinc_h
 
 #define SIZEOF_CHAR 1
 #define SIZEOF_SHORT 2
@@ -54,9 +56,7 @@
 #include <time.h>
 #include <io.h>
 
-#ifndef __MINGW32__
 #include "IP6_misc.h"
-#endif
 
 #define caddr_t char*
 
@@ -88,3 +88,4 @@ typedef _W64 int   intptr_t;
 #endif 
 
 #endif /*__MINGW32__*/
+#endif /* pcap_stdinc_h */