summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore1
-rw-r--r--src/main.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index 71eefc4..e17b04a 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -2,4 +2,5 @@
/paths.h
/safe_fifo.h
/thread.h
+/timespec.h
/timer
diff --git a/src/main.c b/src/main.c
index 6c30fec..d6beed4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -12,6 +12,8 @@
# include <xcb/xcb_icccm.h>
#endif
+#define HAVE_STRUCT_TIMESPEC 1
+
#include "compiler.h"
#include "paths.h"
#include "safe_fifo.h"