Don't include <netinet/in.h>; at least on AIX 4.3.2, that causes
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 3 Nov 1999 06:18:50 +0000 (06:18 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 3 Nov 1999 06:18:50 +0000 (06:18 +0000)
<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).

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

packet-atalk.c

index 40dfd689bcd56d12865f68647b3a7bd72280f33d..f30cee7aed612429e2f91a10f9aa8aab08fb1dc2 100644 (file)
@@ -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>
  *
 #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;