summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index ccc72f7..5577253 100644
--- a/src/main.h
+++ b/src/main.h
@@ -6,8 +6,13 @@
#include "os.h"
extern char strbuf[1024];
+#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
+#endif
+
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
// Forward declaration for use in function arguments.
//struct devices;