From 3539db6ef7e019f6098dcc066faf0d3f0aa949bb Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 27 Jun 2005 16:21:48 +0000 Subject: quick (&dirty) fix four outchannel.h under bsd - requires further fixing on all platforms --- outchannel.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'outchannel.c') 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 +#include #include #include #include -- cgit