diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-10 16:19:42 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-10 16:19:42 +0000 |
commit | f31bb35f90bec25673e3e174a193363759261912 (patch) | |
tree | cde099c6025069ca39ea58afad0a704254602bd0 | |
parent | 555c74fc2930556f1b9ddce1e8114a61fa732489 (diff) | |
download | rsyslog-f31bb35f90bec25673e3e174a193363759261912.tar.gz rsyslog-f31bb35f90bec25673e3e174a193363759261912.tar.xz rsyslog-f31bb35f90bec25673e3e174a193363759261912.zip |
taking advantage of new build system - in the process of removing SYSV
-rw-r--r-- | syslogd.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 <mcheck.h> #endif #include <unistd.h> #include <stdlib.h> #include <stdio.h> -#ifdef SYSV -#include <sys/types.h> -#endif #include <utmp.h> #include <ctype.h> #define GNU_SOURCE @@ -173,7 +170,7 @@ #include <sys/wait.h> #include <sys/socket.h> #include <sys/file.h> -#ifdef SYSV +#if HAVE_FCNTL_H #include <fcntl.h> #else #include <sys/msgbuf.h> |