summaryrefslogtreecommitdiffhomepage
path: root/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 246882b..0f12620 100644
--- a/includes.h
+++ b/includes.h
@@ -29,6 +29,11 @@
#include "options.h"
#include "debug.h"
+#if __linux__
+/* For clock_gettime */
+#define _POSIX_C_SOURCE 199309L
+#endif
+
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/param.h> /* required for BSD4_4 define */