aboutsummaryrefslogtreecommitdiffstats
path: root/packet.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-14 07:39:44 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-14 07:39:44 +0000
commit1655671f9a16cfb67dd39e455d7bdffece3aaa82 (patch)
tree9985a7381f1ca17a492b02dd2c1ac3b97a455476 /packet.c
parentae276ffe2010027af678da5453339affcdde66be (diff)
Include <arpa/inet.h>, so we get a declaration of "inet_ntop()" on
systems that declare it there. svn path=/trunk/; revision=831
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 591797a55d..6d43e285ab 100644
--- a/packet.c
+++ b/packet.c
@@ -1,7 +1,7 @@
/* packet.c
* Routines for packet disassembly
*
- * $Id: packet.c,v 1.48 1999/10/14 06:55:09 guy Exp $
+ * $Id: packet.c,v 1.49 1999/10/14 07:39:44 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -55,6 +55,8 @@
# include <netinet/in.h>
#endif
+#include <arpa/inet.h>
+
#ifdef NEED_INET_V6DEFS_H
# include "inet_v6defs.h"
#endif