From f31bb35f90bec25673e3e174a193363759261912 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 10 Jul 2007 16:19:42 +0000 Subject: taking advantage of new build system - in the process of removing SYSV --- syslogd.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/syslogd.c b/syslogd.c index 3dffc346..dcef9fc8 100644 --- a/syslogd.c +++ b/syslogd.c @@ -85,6 +85,8 @@ * * A copy of the GPL can be found in the file "COPYING" in this distribution. */ +#include "config.h" + #ifdef __FreeBSD__ #define BSD #endif @@ -141,17 +143,12 @@ #define CONT_LINE 1 /* Allow continuation lines */ -#include "config.h" - #ifdef MTRACE #include #endif #include #include #include -#ifdef SYSV -#include -#endif #include #include #define GNU_SOURCE @@ -173,7 +170,7 @@ #include #include #include -#ifdef SYSV +#if HAVE_FCNTL_H #include #else #include -- cgit