aboutsummaryrefslogtreecommitdiff
path: root/swaybar/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index 7ec3e0ea..abde1cc9 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -1,9 +1,11 @@
+#define _XOPEN_SOURCE 500
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/wait.h>
+#include <signal.h>
#include <poll.h>
#include "swaybar/ipc.h"
#include "swaybar/render.h"