summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-09 20:30:55 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-09 20:30:55 +0200
commit0d7694160012f2cdcec96932a6bdff6e75f25ad4 (patch)
treee1a43aeab4b5f8590378a80336d0a9835a2aa69b /src/main.h
parent5dc162bc4a71321bd0fcec8db96ec89b88a60ed3 (diff)
download0xFFFF-0d7694160012f2cdcec96932a6bdff6e75f25ad4.tar.bz2
Add new code to Makefile
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;