]> The Tcpdump Group git mirrors - libpcap/commitdiff
<pcap.h> includes <sys/types.h>, and "pcap-int.h" includes <pcap.h>, and
authorguy <guy>
Tue, 9 Apr 2002 08:45:06 +0000 (08:45 +0000)
committerguy <guy>
Tue, 9 Apr 2002 08:45:06 +0000 (08:45 +0000)
"scanner.l" includes "pcap-int.h", so there's no need to include
<sys/types.h> in "scanner.l".

scanner.l

index 6f36be3256cf18f942668bf8c73e78091cb08efb..83414c16c210fd62ba2ffba051fd134eaeb20383 100644 (file)
--- a/scanner.l
+++ b/scanner.l
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.81.2.2 2002-04-09 07:49:41 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.81.2.3 2002-04-09 08:45:06 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#include <sys/types.h>
-
 #include <ctype.h>
 #include <string.h>