summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanko Kaneti <yaneti@declera.com>2009-06-15 10:57:53 +0300
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-06-15 07:47:59 -0700
commitfccbbd6f3bdc090d2da9b32fdff2fd13679e2b78 (patch)
tree2316f49ecbfc54251988e07ff42c898665477c10
parent50ef34933ba3e846605d52a96619323e12887959 (diff)
downloadxscope-fccbbd6f3bdc090d2da9b32fdff2fd13679e2b78.tar.gz
Include sys/param.h earlier
MAXHOSTNAMELEN is also needed for some scope.h declarations
-rw-r--r--scope.c1
-rw-r--r--scope.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 591cfda..45f2724 100644
--- a/scope.c
+++ b/scope.c
@@ -58,7 +58,6 @@
#include <ctype.h>
#include <unistd.h>
-#include <sys/param.h>
#ifdef SYSV
#define bzero(s,l) memset(s, 0, l)
diff --git a/scope.h b/scope.h
index a0a536d..3100559 100644
--- a/scope.h
+++ b/scope.h
@@ -62,6 +62,7 @@
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
+#include <sys/param.h>
#ifdef SVR4
#include <sys/filio.h>
#endif /* SVR4 */