aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swaylock/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaylock/main.c b/swaylock/main.c
index b5ce63ef..a0a2f1cb 100644
--- a/swaylock/main.c
+++ b/swaylock/main.c
@@ -11,6 +11,7 @@
#include <getopt.h>
#include <signal.h>
#include <stdbool.h>
+#include <unistd.h>
#include "client/window.h"
#include "client/registry.h"