From c4a9cde9d1f2034b0767bc2169f00e4b97b43780 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 3 Nov 1999 07:06:17 +0000 Subject: [PATCH] We *do* need 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 , in order to squelch the complaints somebody saw compiling on AIX). svn path=/trunk/; revision=969 --- packet-atalk.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 * @@ -33,6 +33,10 @@ #include "packet.h" #include "packet-atalk.h" +#ifdef HAVE_NETINET_IN_H +# include +#endif + static int proto_ddp = -1; static int hf_ddp_hopcount = -1; static int hf_ddp_len = -1;