tcpdump mailing list archives

Re: pcap.c patch


From: Guy Harris <guy () alum mit edu>
Date: Thu, 25 Mar 2004 14:36:48 -0800


On Mar 24, 2004, at 10:58 AM, Gisle Vanem wrote:

A small patch for DLT_SYMANTEC:
And other Win compilers besides MSVC have <unistd.h>.

--- libpcap-2004.03.24/pcap.c   Tue Mar 23 20:18:07 2004
+++ pcap.c      Wed Mar 24 18:12:06 2004
@@ -49,7 +49,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#ifndef WIN32
+#ifndef _MSC_VER

Do *all* Windows compilers other than MSVC++ have <unistd.h>? Cygwin GCC presumably does, but what about MinGW, for example?

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: