summaryrefslogtreecommitdiff
path: root/grammar.y
diff options
context:
space:
mode:
authorrisso <risso>2004-10-07 09:06:56 +0000
committerrisso <risso>2004-10-07 09:06:56 +0000
commit7fb5bd595feb769112d65433f2e053814e8615d4 (patch)
treec84aca783d6dc87bbff6539747bf6fc46963c0da /grammar.y
parentcb55faad8f22e1f2351cb66bd1959a657a4943c1 (diff)
downloadlibpcap-7fb5bd595feb769112d65433f2e053814e8615d4.tar.gz
Added an #ifndef WIN32 around #include <strings.h> since this include file is
neither present nor necessary under MSVC6 (and cygwin).
Diffstat (limited to 'grammar.y')
-rw-r--r--grammar.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/grammar.y b/grammar.y
index 1d8d4829..f220ca63 100644
--- a/grammar.y
+++ b/grammar.y
@@ -22,7 +22,7 @@
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.83 2004-06-16 08:20:29 hannes Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.84 2004-10-07 09:06:56 risso Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -49,7 +49,10 @@ struct rtentry;
#endif /* WIN32 */
#include <stdio.h>
+
+#ifndef WIN32
#include <strings.h>
+#endif
#include "pcap-int.h"