aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsghctoma <sghctoma@gmail.com>2018-10-17 08:33:19 +0200
committersghctoma <sghctoma@gmail.com>2018-10-17 08:33:19 +0200
commitfa587b8ea95153fb1313012cb7b76b05b4f97ab5 (patch)
treeb8d4dedd04a095c9c8f38354f76696ad2ee24b45
parent8beeb88309d87474e1b4e8eadcf245a24f04b2d0 (diff)
Increase _POSIX_C_SOURCE to 200112L
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
-rw-r--r--backend/drm/drm.c2
-rw-r--r--backend/multi/backend.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 1313e7fe..0b624717 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1,4 +1,4 @@
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200112L
#include <assert.h>
#include <drm_mode.h>
#include <EGL/egl.h>
diff --git a/backend/multi/backend.c b/backend/multi/backend.c
index cefaa361..50851109 100644
--- a/backend/multi/backend.c
+++ b/backend/multi/backend.c
@@ -1,4 +1,4 @@
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200112L
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>