summaryrefslogtreecommitdiff
path: root/scope.c
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.c
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.c')
-rw-r--r--scope.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/scope.c b/scope.c
index 4a46ff4..dd7b717 100644
--- a/scope.c
+++ b/scope.c
@@ -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>