aboutsummaryrefslogtreecommitdiffstats
path: root/packet-fddi.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1998-11-12 21:22:47 +0000
committerGuy Harris <guy@alum.mit.edu>1998-11-12 21:22:47 +0000
commit4b2b211cd580b9518240b958c88c5c57c6d11ac9 (patch)
tree816c4de5ba5e0e30ba745d6e1fd960a9fe26cbb2 /packet-fddi.c
parentc0f191e9e0c2d49564e42a23cfcd6a391569892c (diff)
We have to include <sys/types.h>, if we have it, to declare "u_char", as
we no longer include <pcap.h>. svn path=/trunk/; revision=84
Diffstat (limited to 'packet-fddi.c')
-rw-r--r--packet-fddi.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-fddi.c b/packet-fddi.c
index 6b2a3f8dd1..2bcdffe749 100644
--- a/packet-fddi.c
+++ b/packet-fddi.c
@@ -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>
@@ -29,6 +29,10 @@
# include "config.h"
#endif
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
#include <gtk/gtk.h>
#include <stdio.h>