summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-09-28 23:48:38 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-09-28 23:48:38 -0700
commit8f5292aad3a0dcbc219d76d63ea915f49d403bbc (patch)
tree4fa5082510d992a5d5dd923ac07a5fa42e5bb8d3 /scope.h
parenta5de13686c9ad9c8fc7e4cf2508fd2ba1de50965 (diff)
downloadxscope-8f5292aad3a0dcbc219d76d63ea915f49d403bbc.tar.gz
Replace platform #ifdefs with autoconf tests
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/scope.h b/scope.h
index 3fa3dd0..8954b68 100644
--- a/scope.h
+++ b/scope.h
@@ -56,6 +56,8 @@
#ifndef XSCOPE_SCOPE_H
#define XSCOPE_SCOPE_H
+#include "config.h"
+
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
#include <stdio.h>
@@ -63,9 +65,9 @@
#include <string.h>
#include <netdb.h>
#include <sys/param.h>
-#ifdef SVR4
+#if !defined(FIOCLEX) && defined(HAVE_SYS_FILIO_H)
#include <sys/filio.h>
-#endif /* SVR4 */
+#endif
#define Boolean short
#define true 1