From d3c947676dc2b2e15fafbb542b9fa6335c047486 Mon Sep 17 00:00:00 2001 From: David Eklov Date: Sun, 26 Jun 2016 23:25:56 -0500 Subject: Bug fix: Add missing header file, unistd.h Without unistd.h the following functions getuid, alarm and close are implicitly declared causing compilation to fail due to -Werror=implicit-function-declaration --- swaylock/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'swaylock') 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 #include #include +#include #include "client/window.h" #include "client/registry.h" -- cgit v1.2.3-54-g00ecf