aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/selection/incoming.c1
-rw-r--r--xwayland/selection/selection.c1
-rw-r--r--xwayland/server.c1
-rw-r--r--xwayland/sockets.c3
-rw-r--r--xwayland/xwayland.c1
-rw-r--r--xwayland/xwm.c3
6 files changed, 2 insertions, 8 deletions
diff --git a/xwayland/selection/incoming.c b/xwayland/selection/incoming.c
index c2e1e712..4a0b450c 100644
--- a/xwayland/selection/incoming.c
+++ b/xwayland/selection/incoming.c
@@ -1,4 +1,3 @@
-#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/xwayland/selection/selection.c b/xwayland/selection/selection.c
index 0079df2f..4d1e366e 100644
--- a/xwayland/selection/selection.c
+++ b/xwayland/selection/selection.c
@@ -1,4 +1,3 @@
-#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/xwayland/server.c b/xwayland/server.c
index 6dd42246..4f92879d 100644
--- a/xwayland/server.c
+++ b/xwayland/server.c
@@ -1,4 +1,3 @@
-#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/xwayland/sockets.c b/xwayland/sockets.c
index 873fde8d..9e287f36 100644
--- a/xwayland/sockets.c
+++ b/xwayland/sockets.c
@@ -1,4 +1,5 @@
-#define _XOPEN_SOURCE 700
+#undef _POSIX_C_SOURCE
+#define _XOPEN_SOURCE 700 // for S_ISVTX
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c
index 0ffc1fef..c4ca9ae4 100644
--- a/xwayland/xwayland.c
+++ b/xwayland/xwayland.c
@@ -1,4 +1,3 @@
-#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 9a6cf771..c75f2be7 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -1,6 +1,3 @@
-#ifndef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 200809L
-#endif
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>