Skip to content

Commit

Permalink
Include <netinet/in.h> before including "global.h", so that if - as
Browse files Browse the repository at this point in the history
appears to be the case on AIX 4.3.2 - it defines BIG_ENDIAN or
LITTLE_ENDIAN differently from the way "global.h" defines them, and also
defines BYTE_ORDER, we don't get a compiler warning - instead,
"global.h" refrains from defining them (as BYTE_ORDER is defined).

svn path=/trunk/; revision=970
  • Loading branch information
guyharris committed Nov 4, 1999
1 parent c4a9cde commit 6ff49f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packet-atalk.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* packet-atalk.c
* Routines for Appletalk packet disassembly (DDP, currently).
*
* $Id: packet-atalk.c,v 1.20 1999/11/03 07:06:17 guy Exp $
* $Id: packet-atalk.c,v 1.21 1999/11/04 07:06:50 guy Exp $
*
* Simon Wilkinson <sxw@dcs.ed.ac.uk>
*
Expand All @@ -28,15 +28,15 @@
# include <sys/types.h>
#endif

#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif

#include <glib.h>
#include "globals.h"
#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;
Expand Down

0 comments on commit 6ff49f4

Please sign in to comment.