We have to include <sys/types.h>, if we have it, to declare "u_char", as
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Nov 1998 21:22:47 +0000 (21:22 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Nov 1998 21:22:47 +0000 (21:22 +0000)
we no longer include <pcap.h>.

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

packet-fddi.c

index 6b2a3f8dd1b838f58ab57fb8d0597e20b9adcef4..2bcdffe74950ce95e74b187048bbda71d8eb6ffa 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Laurent Deniel <deniel@worldnet.fr>
  *
- * $Id: packet-fddi.c,v 1.6 1998/11/12 00:06:27 gram Exp $
+ * $Id: packet-fddi.c,v 1.7 1998/11/12 21:22:47 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
 # include "config.h"
 #endif
 
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
 #include <gtk/gtk.h>
 
 #include <stdio.h>