summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-11-05 16:21:07 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-11-05 16:21:07 -0800
commiteb05316a471da962eefe82c9b9a16a7590653ba7 (patch)
tree9236feacb434dd2843753a4ffc9e550f7cbd75a2 /scope.c
parent635b109d4940f2cf7dc15af92a4d279806697a82 (diff)
downloadxscope-eb05316a471da962eefe82c9b9a16a7590653ba7.tar.gz
X.Org bug #18392: #include <sys/param.h> for MAXHOSTNAMELEN on Cygwin
<http://bugs.freedesktop.org/show_bug.cgi?id=18392>
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 32c80c6..f2ceb6f 100644
--- a/scope.c
+++ b/scope.c
@@ -58,6 +58,7 @@
#include <errno.h>
#include <unistd.h>
#include <netdb.h>
+#include <sys/param.h>
#ifdef SYSV
#define bzero(s,l) memset(s, 0, l)