aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-06-06 09:34:01 -0400
committerLibravatar GitHub <noreply@github.com>2017-06-06 09:34:01 -0400
commitfd47a30e75cccfc3789eafa4bfabd66f4696099b (patch)
tree10c1529eb56235b303bdbca905e8b80dce47ae6d /sway/commands
parentRevert "Drop epoll dependency" (diff)
parentFreeBSD fixes (diff)
downloadsway-fd47a30e75cccfc3789eafa4bfabd66f4696099b.tar.gz
sway-fd47a30e75cccfc3789eafa4bfabd66f4696099b.tar.zst
sway-fd47a30e75cccfc3789eafa4bfabd66f4696099b.zip
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 @@
1#define _XOPEN_SOURCE 500 1#define _XOPEN_SOURCE 700
2#include <stdio.h> 2#include <stdio.h>
3#include <string.h> 3#include <string.h>
4#include "sway/commands.h" 4#include "sway/commands.h"
@@ -55,4 +55,3 @@ struct cmd_results *cmd_assign(int argc, char **argv) {
55 } 55 }
56 return error ? error : cmd_results_new(CMD_SUCCESS, NULL, NULL); 56 return error ? error : cmd_results_new(CMD_SUCCESS, NULL, NULL);
57} 57}
58
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 @@
1#define _XOPEN_SOURCE 500 1#define _XOPEN_SOURCE 700
2#include <stdio.h> 2#include <stdio.h>
3#include <string.h> 3#include <string.h>
4#include <strings.h> 4#include <strings.h>