aboutsummaryrefslogtreecommitdiffstats
path: root/packet-atalk.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-03 06:18:50 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-03 06:18:50 +0000
commitf56253cd61b5db6df2419d8d3c13a93833406a5d (patch)
tree80060ae3a1a7be0413905ca7868a9b0603bd3163 /packet-atalk.c
parent135cdeb40a4bd03ad3868e980f4625bffd1c40ed (diff)
Don't include <netinet/in.h>; at least on AIX 4.3.2, that causes
<sys/machine.h> to be included (presumably to define the machine's byte order, to declare the "ntoh" and "hton" routines/macros correctly), which causes BIG_ENDIAN and LITTLE_ENDIAN to be defined, but that's done after we've included "globals.h", so they're already defined, and the compiler complains. We don't need it (at least not on FreeBSD). svn path=/trunk/; revision=967
Diffstat (limited to 'packet-atalk.c')
-rw-r--r--packet-atalk.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/packet-atalk.c b/packet-atalk.c
index 40dfd689bc..f30cee7aed 100644
--- a/packet-atalk.c
+++ b/packet-atalk.c
@@ -1,7 +1,7 @@
/* packet-atalk.c
* Routines for Appletalk packet disassembly (DDP, currently).
*
- * $Id: packet-atalk.c,v 1.18 1999/10/29 05:25:58 guy Exp $
+ * $Id: packet-atalk.c,v 1.19 1999/11/03 06:18:50 guy Exp $
*
* Simon Wilkinson <sxw@dcs.ed.ac.uk>
*
@@ -33,10 +33,6 @@
#include "packet.h"
#include "packet-atalk.h"
-#ifdef HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
-
static int proto_ddp = -1;
static int hf_ddp_hopcount = -1;
static int hf_ddp_len = -1;