We don't use anything from <sys/socket.h> (we need to know the AF_
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 3 Aug 2002 19:49:30 +0000 (19:49 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 3 Aug 2002 19:49:30 +0000 (19:49 +0000)
values of the various BSDs that support DLT_NULL, but those aren't
necessarily the AF_ values on the machine on which you're building
Ethereal), so we don't need to include it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5939 f5534014-38df-0310-8fa8-9805f1628bb7

packet-null.c

index 75c2146d446848e1399dbaf458f02234c7348d76..851e5e79d22a263cc5c87413d3da7e7e2cdcbdf2 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-null.c
  * Routines for null packet disassembly
  *
- * $Id: packet-null.c,v 1.54 2002/08/02 23:35:55 jmayer Exp $
+ * $Id: packet-null.c,v 1.55 2002/08/03 19:49:30 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
 
 #include <glib.h>
 
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
-
 #include <string.h>
 #include <epan/packet.h>
 #include "packet-null.h"