aboutsummaryrefslogtreecommitdiff
path: root/swaybar/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index f2da7392..b08eeea8 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -1,4 +1,6 @@
+#define _XOPEN_SOURCE 500
#include <string.h>
+#include <strings.h>
#include <json-c/json.h>
#include "swaybar/config.h"
#include "swaybar/ipc.h"