aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-06 09:34:01 -0400
committerGitHub <noreply@github.com>2017-06-06 09:34:01 -0400
commitfd47a30e75cccfc3789eafa4bfabd66f4696099b (patch)
tree10c1529eb56235b303bdbca905e8b80dce47ae6d /sway/commands
parent5ed533a94331ea2d849f900ee20f8932d742e9b5 (diff)
parent7fef2830446e1f98a02f8d8a3bba866b7edd5bd0 (diff)
downloadsway-fd47a30e75cccfc3789eafa4bfabd66f4696099b.tar.xz
Merge pull request #1232 from johalun/master-freebsd
FreeBSD fixes
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/assign.c3
-rw-r--r--sway/commands/set.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/sway/commands/assign.c b/sway/commands/assign.c
index ec262bb8..c3b03bbc 100644
--- a/sway/commands/assign.c
+++ b/sway/commands/assign.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 700
#include <stdio.h>
#include <string.h>
#include "sway/commands.h"
@@ -55,4 +55,3 @@ struct cmd_results *cmd_assign(int argc, char **argv) {
}
return error ? error : cmd_results_new(CMD_SUCCESS, NULL, NULL);
}
-
diff --git a/sway/commands/set.c b/sway/commands/set.c
index 1d6bce04..e3d08dd3 100644
--- a/sway/commands/set.c
+++ b/sway/commands/set.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 700
#include <stdio.h>
#include <string.h>
#include <strings.h>