aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eigrp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-05-30 03:09:11 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-05-30 03:09:11 +0000
commit11b7f3727d041ac0de1e655154a12a726546e0b5 (patch)
tree687bbb1ecef948a04194dd121b354541f29ab314 /packet-eigrp.c
parentf6a8eb6e0f5ea17239d4a34c916819c877a6d2b4 (diff)
#include netinet/in.h (for ntohs() macro), if available.
svn path=/trunk/; revision=2027
Diffstat (limited to 'packet-eigrp.c')
-rw-r--r--packet-eigrp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-eigrp.c b/packet-eigrp.c
index 60787acf68..43cb2e6799 100644
--- a/packet-eigrp.c
+++ b/packet-eigrp.c
@@ -1,6 +1,6 @@
/* packet-eigrp.c
*
- * $Id: packet-eigrp.c,v 1.1 2000/05/28 22:59:18 guy Exp $
+ * $Id: packet-eigrp.c,v 1.2 2000/05/30 03:09:11 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -30,6 +30,10 @@
# include <sys/types.h>
#endif
+#ifdef HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+
#include <glib.h>
#include "packet.h"
#include "resolv.h"