From f2fc13115a90ba2ca575352b04bd8abf7af64d23 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 28 Jun 2005 12:41:03 +0000 Subject: fixed some issues on FreeBSD --- syslogd.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'syslogd.h') diff --git a/syslogd.h b/syslogd.h index 9ff9be9c..39e79da4 100644 --- a/syslogd.h +++ b/syslogd.h @@ -3,3 +3,10 @@ #define dprintf mydprintf #endif /* __GLIBC__ */ void dprintf(char *, ...); + +#ifndef NOLARGEFILE +# define _GNU_SOURCE +# define _LARGEFILE_SOURCE +# define _LARGEFILE64_SOURCE +# define _FILE_OFFSET_BITS 64 +#endif -- cgit v1.2.3