summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-06-28 12:41:03 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-06-28 12:41:03 +0000
commitf2fc13115a90ba2ca575352b04bd8abf7af64d23 (patch)
tree5fabb7e5079397e7a7d6559eb38a71a24f243583 /syslogd.h
parent3539db6ef7e019f6098dcc066faf0d3f0aa949bb (diff)
downloadrsyslog-f2fc13115a90ba2ca575352b04bd8abf7af64d23.tar.gz
rsyslog-f2fc13115a90ba2ca575352b04bd8abf7af64d23.tar.xz
rsyslog-f2fc13115a90ba2ca575352b04bd8abf7af64d23.zip
fixed some issues on FreeBSD
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h7
1 files changed, 7 insertions, 0 deletions
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