summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common.c')
-rw-r--r--common.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/common.c b/common.c
index 8229e5f..8f9b291 100644
--- a/common.c
+++ b/common.c
@@ -55,12 +55,6 @@
#include "scope.h"
#include <fcntl.h>
-
-#ifdef SYSV
-#define bzero(s,l) memset(s, 0, l)
-#define bcopy(s,d,l) memmove(d,s,l)
-#endif
-
#include <unistd.h>
/* ********************************************** */
@@ -209,7 +203,7 @@ static int ListenTransCount;
#include <sys/socket.h> /* for AF_INET, SOCK_STREAM, ... */
#include <sys/ioctl.h> /* for FIONCLEX, FIONBIO, ... */
#include <sys/fcntl.h> /* for FIONCLEX, FIONBIO, ... */
-#ifdef SVR4
+#if !defined(FIOCLEX) && defined(HAVE_SYS_FILIO_H)
#include <sys/filio.h>
#endif