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.c | |
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.c')
-rw-r--r-- | scope.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -59,16 +59,11 @@ #include <ctype.h> #include <unistd.h> -#ifdef SYSV -#define bzero(s,l) memset(s, 0, l) -#define bcopy(s,d,l) memmove(d,s,l) -#endif - #include <sys/types.h> /* needed by sys/socket.h and netinet/in.h */ #include <sys/uio.h> /* for struct iovec, used by socket.h */ #include <sys/socket.h> /* for AF_INET, SOCK_STREAM, ... */ #include <sys/ioctl.h> /* for FIONCLEX, FIONBIO, ... */ -#ifdef SVR4 +#if !defined(FIOCLEX) && defined(HAVE_SYS_FILIO_H) #include <sys/filio.h> #endif #include <fcntl.h> |