Include <resolv.h> after "globals.h", as, at least on some platforms,
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 15 Jan 2002 20:09:55 +0000 (20:09 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 15 Jan 2002 20:09:55 +0000 (20:09 +0000)
headers included by "globals.h" define MAXNAMELEN, and <resolv.h>
defines it if it's not already defined.

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

prefs.c

diff --git a/prefs.c b/prefs.c
index 648df882d45ee0cb5eb208c82d1b8ed2ac48ddd1..7a8eacdfc8d6137e5490543c93c68ce1c4eb1fc3 100644 (file)
--- a/prefs.c
+++ b/prefs.c
@@ -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"