Skip to content

Commit

Permalink
From Gisle Vanem:
Browse files Browse the repository at this point in the history
* Added header-guard.

* Include IP6_misc.h unconditionally (why treat MingW specially?)
  • Loading branch information
Guy Harris committed Feb 14, 2009
1 parent 4380c64 commit 5fb8909
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pcap-stdinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -54,9 +56,7 @@
#include <time.h>
#include <io.h>

#ifndef __MINGW32__
#include "IP6_misc.h"
#endif

#define caddr_t char*

Expand Down Expand Up @@ -88,3 +88,4 @@ typedef _W64 int intptr_t;
#endif

#endif /*__MINGW32__*/
#endif /* pcap_stdinc_h */

0 comments on commit 5fb8909

Please sign in to comment.