aboutsummaryrefslogtreecommitdiff
path: root/example/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/shared.h')
-rw-r--r--example/shared.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/example/shared.h b/example/shared.h
index 48eca538..c95df9cc 100644
--- a/example/shared.h
+++ b/example/shared.h
@@ -1,6 +1,8 @@
#ifndef _EXAMPLE_SHARED_H
#define _EXAMPLE_SHARED_H
-#define _POSIX_C_SOURCE 199309L
+#ifndef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200112L
+#endif
#include <time.h>
#include <stdbool.h>
#include <xkbcommon/xkbcommon.h>