aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/pool-buffer.c2
-rw-r--r--sway/commands.c2
-rw-r--r--sway/commands/bar.c2
-rw-r--r--sway/commands/output/background.c2
-rw-r--r--sway/tree/workspace.c2
-rw-r--r--swaybar/ipc.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/client/pool-buffer.c b/client/pool-buffer.c
index 6555a3ae..588bd06c 100644
--- a/client/pool-buffer.c
+++ b/client/pool-buffer.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 600
+#define _POSIX_C_SOURCE 200809
#include <assert.h>
#include <cairo/cairo.h>
#include <fcntl.h>
diff --git a/sway/commands.c b/sway/commands.c
index 9e0fda55..e72b8916 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 600
+#define _POSIX_C_SOURCE 200809
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
diff --git a/sway/commands/bar.c b/sway/commands/bar.c
index 9d62dc83..f760888e 100644
--- a/sway/commands/bar.c
+++ b/sway/commands/bar.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 600
+#define _POSIX_C_SOURCE 200809
#include <string.h>
#include <strings.h>
#include <wlr/util/log.h>
diff --git a/sway/commands/output/background.c b/sway/commands/output/background.c
index 900a5e75..ddad679d 100644
--- a/sway/commands/output/background.c
+++ b/sway/commands/output/background.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 600
+#define _POSIX_C_SOURCE 200809
#include <libgen.h>
#include <strings.h>
#include <unistd.h>
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index e7c1e36b..1957d94f 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 600
+#define _POSIX_C_SOURCE 200809
#include <ctype.h>
#include <limits.h>
#include <stdbool.h>
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index 972869c6..0e60c10c 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 600
+#define _POSIX_C_SOURCE 200809
#include <limits.h>
#include <string.h>
#include <strings.h>