diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-06-27 16:21:48 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-06-27 16:21:48 +0000 |
commit | 3539db6ef7e019f6098dcc066faf0d3f0aa949bb (patch) | |
tree | 403e522f7ababfa808d97c890fab88068d32d4b4 | |
parent | b14349ab99423a429bf1964fb0580acf95d6444f (diff) | |
download | rsyslog-3539db6ef7e019f6098dcc066faf0d3f0aa949bb.tar.gz rsyslog-3539db6ef7e019f6098dcc066faf0d3f0aa949bb.tar.xz rsyslog-3539db6ef7e019f6098dcc066faf0d3f0aa949bb.zip |
quick (&dirty) fix four outchannel.h under bsd - requires further fixing on
all platforms
-rw-r--r-- | outchannel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/outchannel.c b/outchannel.c index 7bae91ad..6efd0256 100644 --- a/outchannel.c +++ b/outchannel.c @@ -1,3 +1,10 @@ +#ifndef NOLARGEFILE +# define _GNU_SOURCE +# define _LARGEFILE_SOURCE +# define _LARGEFILE64_SOURCE +# define _FILE_OFFSET_BITS 64 +#endif + /* This is the output channel processing code of rsyslog. * Output channels - in the long term - will define how * messages will be sent to whatever file or other medium. @@ -12,6 +19,7 @@ #endif #include <stdio.h> +#include <unistd.h> #include <stdlib.h> #include <string.h> #include <ctype.h> |