aboutsummaryrefslogtreecommitdiff
path: root/sway/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/security.c')
-rw-r--r--sway/security.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/security.c b/sway/security.c
index 9dfc7d2d..f8a96ba7 100644
--- a/sway/security.c
+++ b/sway/security.c
@@ -1,3 +1,5 @@
+#define _XOPEN_SOURCE 500
+#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include "sway/config.h"