summaryrefslogtreecommitdiff
diff options
-rw-r--r--src/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 49d167b..2d5cb25 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,5 +7,7 @@ clean:
threaded_memtest: CFLAGS += -pthread
threaded_memtest: CFLAGS += -Wno-unused-but-set-variable
+clocktest: CFLAGS += -D_POSIX_C_SOURCE=199309L
+clocktest: LDLIBS += -lrt
CFLAGS += -Wall