aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-03 10:59:18 -0400
committerGitHub <noreply@github.com>2018-09-03 10:59:18 -0400
commite4afd33d478c14fd82e585eefe36b5576d78c5bb (patch)
treedd7397f8494a9ef8493674d550bafbc0333a8376 /sway/commands
parent7d353813d502d50439a7d50b55304fc835f3c7fd (diff)
parent073dcb3a8650ee45bb98701fccd6530d9dd1a3f4 (diff)
Merge pull request #2542 from sghctoma/fix-freebsd-build
FreeBSD fixes
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/bar.c2
-rw-r--r--sway/commands/output/background.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/bar.c b/sway/commands/bar.c
index f6a70c17..f760888e 100644
--- a/sway/commands/bar.c
+++ b/sway/commands/bar.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 500
+#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 74894812..ddad679d 100644
--- a/sway/commands/output/background.c
+++ b/sway/commands/output/background.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 500
+#define _POSIX_C_SOURCE 200809
#include <libgen.h>
#include <strings.h>
#include <unistd.h>