aboutsummaryrefslogtreecommitdiff
path: root/example/shared.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-21 14:33:39 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-21 14:33:39 -0400
commit8ce9237c928a7dc6afb889291237465daf4d6b43 (patch)
treeed5edc68f56e27cb0c7cec0a4e486c1992582672 /example/shared.h
parentb93f00b92f20dcdc5360605649a142551bd837a9 (diff)
Create WAYLAND_DISPLAY socket
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>