diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-28 23:48:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-28 23:48:38 -0700 |
commit | 8f5292aad3a0dcbc219d76d63ea915f49d403bbc (patch) | |
tree | 4fa5082510d992a5d5dd923ac07a5fa42e5bb8d3 /scope.h | |
parent | a5de13686c9ad9c8fc7e4cf2508fd2ba1de50965 (diff) | |
download | xscope-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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |