aboutsummaryrefslogtreecommitdiff
path: root/xwayland/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/sockets.c')
-rw-r--r--xwayland/sockets.c3
1 files changed, 2 insertions, 1 deletions
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>