diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-15 20:09:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-15 20:09:55 +0000 |
commit | df6fa9cc908b127022c2beca8daca04fb1996cfd (patch) | |
tree | 59bce818c6b2102bdc566b5d1427a6cfe3b3aee8 /prefs.c | |
parent | e4f05dcac2d27c457b85317b8a414fc2283c9c9e (diff) | |
download | wireshark-df6fa9cc908b127022c2beca8daca04fb1996cfd.tar.gz wireshark-df6fa9cc908b127022c2beca8daca04fb1996cfd.tar.bz2 wireshark-df6fa9cc908b127022c2beca8daca04fb1996cfd.zip |
Include <resolv.h> after "globals.h", as, at least on some platforms,
headers included by "globals.h" define MAXNAMELEN, and <resolv.h>
defines it if it's not already defined.
svn path=/trunk/; revision=4545
Diffstat (limited to 'prefs.c')
-rw-r--r-- | prefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* prefs.c * Routines for handling preferences * - * $Id: prefs.c,v 1.78 2002/01/15 10:01:21 guy Exp $ + * $Id: prefs.c,v 1.79 2002/01/15 20:09:55 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -42,8 +42,8 @@ #include <glib.h> #include <filesystem.h> -#include <resolv.h> #include "globals.h" +#include <resolv.h> #include "packet.h" #include "file.h" #include "prefs.h" |