tcpdump mailing list archives

[Patch] libpcap, pcap-stdinc.h


From: Gisle Vanem <gvanem () broadpark no>
Date: Thu, 12 Feb 2009 21:28:32 +0100

* Added header-guard.

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

--gv

--- CVS-Latest/pcap-stdinc.h       Mon Oct 06 14:27:32 2008
+++ pcap-stdinc.h    Thu Feb 12 21:25:34 2009
@@ -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 @@
#endif

#endif /*__MINGW32__*/
+#endif /* pcap_stdinc_h */
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: