summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
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