aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/assign.c
diff options
context:
space:
mode:
authorLibravatar johalun <johalun0@gmail.com>2017-06-05 13:44:29 +0200
committerLibravatar johalun <johalun0@gmail.com>2017-06-06 09:45:50 +0200
commit7fef2830446e1f98a02f8d8a3bba866b7edd5bd0 (patch)
tree10c1529eb56235b303bdbca905e8b80dce47ae6d /sway/commands/assign.c
parentRevert "Drop epoll dependency" (diff)
downloadsway-7fef2830446e1f98a02f8d8a3bba866b7edd5bd0.tar.gz
sway-7fef2830446e1f98a02f8d8a3bba866b7edd5bd0.tar.zst
sway-7fef2830446e1f98a02f8d8a3bba866b7edd5bd0.zip
FreeBSD fixes
Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
Diffstat (limited to 'sway/commands/assign.c')
-rw-r--r--sway/commands/assign.c3
1 files changed, 1 insertions, 2 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