diff options
author | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2007-08-08 10:49:38 +0000 |
---|---|---|
committer | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2007-08-08 10:49:38 +0000 |
commit | f2511d3c610684b4c23dd91f1fbbfd90c935102d (patch) | |
tree | 4959a056b99b88f919a6f29295d7ec37830cfc77 | |
parent | e276e32d426e488f9f18f7ca156c301df3604e4f (diff) | |
download | rsyslog-f2511d3c610684b4c23dd91f1fbbfd90c935102d.tar.gz rsyslog-f2511d3c610684b4c23dd91f1fbbfd90c935102d.tar.xz rsyslog-f2511d3c610684b4c23dd91f1fbbfd90c935102d.zip |
changed rsyslog.h include order to solve debian sid zlib inlcude issue
-rw-r--r-- | action.c | 2 | ||||
-rw-r--r-- | cfsysline.c | 2 | ||||
-rw-r--r-- | iminternal.c | 2 | ||||
-rw-r--r-- | msg.c | 2 | ||||
-rw-r--r-- | net.c | 2 | ||||
-rw-r--r-- | omdiscard.c | 2 | ||||
-rw-r--r-- | omfile.c | 2 | ||||
-rw-r--r-- | omfwd.c | 2 | ||||
-rw-r--r-- | ommysql.c | 2 | ||||
-rw-r--r-- | omshell.c | 2 | ||||
-rw-r--r-- | outchannel.c | 2 | ||||
-rwxr-xr-x | srUtils.c | 2 | ||||
-rw-r--r-- | syslogd.h | 1 | ||||
-rw-r--r-- | tcpsyslog.c | 2 | ||||
-rw-r--r-- | template.c | 2 |
15 files changed, 15 insertions, 14 deletions
@@ -23,13 +23,13 @@ * A copy of the GPL can be found in the file "COPYING" in this distribution. */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <assert.h> #include <stdarg.h> #include <stdlib.h> #include <time.h> -#include "rsyslog.h" #include "syslogd.h" #include "template.h" #include "action.h" diff --git a/cfsysline.c b/cfsysline.c index 84583190..14b113cb 100644 --- a/cfsysline.c +++ b/cfsysline.c @@ -23,6 +23,7 @@ */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <stdlib.h> #include <assert.h> @@ -32,7 +33,6 @@ #include <pwd.h> #include <grp.h> -#include "rsyslog.h" #include "syslogd.h" /* TODO: when the module interface & library design is done, this should be able to go away */ #include "cfsysline.h" #include "srUtils.h" diff --git a/iminternal.c b/iminternal.c index a52fe741..9fce41a7 100644 --- a/iminternal.c +++ b/iminternal.c @@ -25,13 +25,13 @@ * A copy of the GPL can be found in the file "COPYING" in this distribution. */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> -#include "rsyslog.h" #include "syslogd.h" #include "linkedlist.h" #include "iminternal.h" @@ -26,6 +26,7 @@ * A copy of the GPL can be found in the file "COPYING" in this distribution. */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> @@ -34,7 +35,6 @@ #include <string.h> #include <assert.h> #include <ctype.h> -#include "rsyslog.h" #include "syslogd.h" #include "srUtils.h" #include "template.h" @@ -29,6 +29,7 @@ #ifdef SYSLOG_INET +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> @@ -39,7 +40,6 @@ #include <ctype.h> #include <netdb.h> -#include "rsyslog.h" #include "syslogd.h" #include "syslogd-types.h" #include "net.h" diff --git a/omdiscard.c b/omdiscard.c index 7a21e46c..d3350032 100644 --- a/omdiscard.c +++ b/omdiscard.c @@ -25,12 +25,12 @@ * A copy of the GPL can be found in the file "COPYING" in this distribution. */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <assert.h> -#include "rsyslog.h" #include "syslogd.h" #include "syslogd-types.h" #include "omdiscard.h" @@ -31,6 +31,7 @@ * A copy of the GPL can be found in the file "COPYING" in this distribution. */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> @@ -42,7 +43,6 @@ #include <unistd.h> #include <sys/file.h> -#include "rsyslog.h" #include "syslogd.h" #include "syslogd-types.h" #include "srUtils.h" @@ -30,6 +30,7 @@ */ #include "config.h" #ifdef SYSLOG_INET +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> @@ -47,7 +48,6 @@ #else #include <fcntl.h> #endif -#include "rsyslog.h" #include "syslogd.h" #include "syslogd-types.h" #include "srUtils.h" @@ -26,6 +26,7 @@ */ #include "config.h" #ifdef WITH_DB +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> @@ -34,7 +35,6 @@ #include <signal.h> #include <errno.h> #include <time.h> -#include "rsyslog.h" #include "syslogd.h" #include "syslogd-types.h" #include "srUtils.h" @@ -31,12 +31,12 @@ * A copy of the GPL can be found in the file "COPYING" in this distribution. */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <assert.h> -#include "rsyslog.h" #include "syslogd.h" #include "syslogd-types.h" #include "srUtils.h" diff --git a/outchannel.c b/outchannel.c index 13161a80..a713680f 100644 --- a/outchannel.c +++ b/outchannel.c @@ -13,13 +13,13 @@ #define BSD #endif +#include "rsyslog.h" #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <assert.h> -#include "rsyslog.h" #include "stringbuf.h" #include "outchannel.h" #include "syslogd.h" @@ -27,6 +27,7 @@ */ #include "config.h" +#include "rsyslog.h" /* THIS IS A MODIFICATION FOR RSYSLOG! 2004-11-18 rgerards */ #include <stdlib.h> #include <string.h> #include <unistd.h> @@ -37,7 +38,6 @@ #include <assert.h> #include <wait.h> #include <ctype.h> -#include "rsyslog.h" /* THIS IS A MODIFICATION FOR RSYSLOG! 2004-11-18 rgerards */ #include "liblogging-stub.h" /* THIS IS A MODIFICATION FOR RSYSLOG! 2004-11-18 rgerards */ #define TRUE 1 #define FALSE 0 @@ -24,6 +24,7 @@ #include "objomsr.h" #ifdef USE_NETZIP +#include <unistd.h> #include <zlib.h> /* config param: minimum message size to try compression. The smaller * the message, the less likely is any compression gain. We check for diff --git a/tcpsyslog.c b/tcpsyslog.c index 327e7972..27ef8e40 100644 --- a/tcpsyslog.c +++ b/tcpsyslog.c @@ -26,6 +26,7 @@ * A copy of the GPL can be found in the file "COPYING" in this distribution. */ #include "config.h" +#include "rsyslog.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> @@ -45,7 +46,6 @@ #include <pthread.h> #endif -#include "rsyslog.h" #include "syslogd.h" #include "syslogd-types.h" #include "net.h" @@ -9,12 +9,12 @@ #define BSD #endif +#include "rsyslog.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <assert.h> -#include "rsyslog.h" #include "stringbuf.h" #include "syslogd-types.h" #include "template.h" |