aboutsummaryrefslogtreecommitdiff
path: root/xcursor
diff options
context:
space:
mode:
Diffstat (limited to 'xcursor')
-rw-r--r--xcursor/wlr_xcursor.c1
-rw-r--r--xcursor/xcursor.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/xcursor/wlr_xcursor.c b/xcursor/wlr_xcursor.c
index 620b6c78..c57d8175 100644
--- a/xcursor/wlr_xcursor.c
+++ b/xcursor/wlr_xcursor.c
@@ -23,7 +23,6 @@
* SOFTWARE.
*/
-#define _POSIX_C_SOURCE 200809L
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/xcursor/xcursor.c b/xcursor/xcursor.c
index 17ad758b..66346709 100644
--- a/xcursor/xcursor.c
+++ b/xcursor/xcursor.c
@@ -23,8 +23,8 @@
* SOFTWARE.
*/
-#define _POSIX_C_SOURCE 200809L
-#define _DEFAULT_SOURCE
+#undef _POSIX_C_SOURCE
+#define _DEFAULT_SOURCE // for d_type in struct dirent
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>