]> The Tcpdump Group git mirrors - libpcap/commitdiff
Sorry, didn't see the patch that brought pcap-stdinc.h to version 1.2. This patch...
authorrisso <risso>
Fri, 2 Aug 2002 09:35:08 +0000 (09:35 +0000)
committerrisso <risso>
Fri, 2 Aug 2002 09:35:08 +0000 (09:35 +0000)
pcap-stdinc.h

index 502ecdd5cdd611e19bead7b400892d3df3a828a3..9afad3a70e79ba076902ad57d999450581c31516 100644 (file)
@@ -18,7 +18,6 @@
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
-#ifdef WIN32
 
 #define SIZEOF_CHAR 1
 #define SIZEOF_SHORT 2
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf
 #define inline __inline 
-
-#else
-
-#include <unistd.h>
-#include <netdb.h>
-#include <sys/socket.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/timeb.h>
-#include <sys/file.h>
-#include <sys/ioctl.h>
-#include <net/if.h>
-#include <netinet/in.h>
-#ifdef HAVE_SYS_SOCKIO_H
-#include <sys/sockio.h>
-#include <arpa/inet.h>
-#endif
-
-#endif