diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-11-03 07:06:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-11-03 07:06:17 +0000 |
commit | c4a9cde9d1f2034b0767bc2169f00e4b97b43780 (patch) | |
tree | dde1c81c4e86ab227be08f60f728e2a7ad322246 /packet-atalk.c | |
parent | f817d71424d02fa5540f297166d6d9fd1eed8cb8 (diff) | |
download | wireshark-c4a9cde9d1f2034b0767bc2169f00e4b97b43780.tar.gz wireshark-c4a9cde9d1f2034b0767bc2169f00e4b97b43780.tar.bz2 wireshark-c4a9cde9d1f2034b0767bc2169f00e4b97b43780.zip |
We *do* need <netinet/in.h> on Debian (and probably other Linuxes, and
quite possibly other UNIX-flavored OSes), in order to declare "ntohs()"
and the like. Put the include back (I guess we could include "global.h"
after including it, or move the byte-order stuff into a separate header
file and include *that* after <netinet.h>, in order to squelch the
complaints somebody saw compiling on AIX).
svn path=/trunk/; revision=969
Diffstat (limited to 'packet-atalk.c')
-rw-r--r-- | packet-atalk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-atalk.c b/packet-atalk.c index f30cee7aed..17022ad3b9 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.19 1999/11/03 06:18:50 guy Exp $ + * $Id: packet-atalk.c,v 1.20 1999/11/03 07:06:17 guy Exp $ * * Simon Wilkinson <sxw@dcs.ed.ac.uk> * @@ -33,6 +33,10 @@ #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; |