summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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