summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index cbeb89713..40f9c23f4 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -14,6 +14,11 @@
#ifndef __INSPIRCD_H__
#define __INSPIRCD_H__
+#define _FILE_OFFSET_BITS 64
+#ifndef _LARGEFILE_SOURCE
+#define _LARGEFILE_SOURCE
+#endif
+
#ifndef WIN32
#define DllExport
#define CoreExport