aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2')
-rw-r--r--render/gles2/pixel_format.c1
-rw-r--r--render/gles2/texture.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/render/gles2/pixel_format.c b/render/gles2/pixel_format.c
index 5cdf8c99..fdf091f1 100644
--- a/render/gles2/pixel_format.c
+++ b/render/gles2/pixel_format.c
@@ -1,3 +1,4 @@
+#define _POSIX_C_SOURCE 199309L
#include <drm_fourcc.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
diff --git a/render/gles2/texture.c b/render/gles2/texture.c
index d66e9c16..d326da9d 100644
--- a/render/gles2/texture.c
+++ b/render/gles2/texture.c
@@ -1,3 +1,4 @@
+#define _POSIX_C_SOURCE 199309L
#include <assert.h>
#include <drm_fourcc.h>
#include <GLES2/gl2.h>