From 8f5292aad3a0dcbc219d76d63ea915f49d403bbc Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 28 Sep 2009 23:48:38 -0700 Subject: Replace platform #ifdefs with autoconf tests Signed-off-by: Alan Coopersmith --- scope.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scope.c') diff --git a/scope.c b/scope.c index 4a46ff4..dd7b717 100644 --- a/scope.c +++ b/scope.c @@ -59,16 +59,11 @@ #include #include -#ifdef SYSV -#define bzero(s,l) memset(s, 0, l) -#define bcopy(s,d,l) memmove(d,s,l) -#endif - #include /* needed by sys/socket.h and netinet/in.h */ #include /* for struct iovec, used by socket.h */ #include /* for AF_INET, SOCK_STREAM, ... */ #include /* for FIONCLEX, FIONBIO, ... */ -#ifdef SVR4 +#if !defined(FIOCLEX) && defined(HAVE_SYS_FILIO_H) #include #endif #include -- cgit v1.2.1