1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-12 14:46:06 +02:00

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
This commit is contained in:
David Eklov 2016-06-26 23:25:56 -05:00
parent b5818150b9
commit d3c947676d

View File

@ -11,6 +11,7 @@
#include <getopt.h>
#include <signal.h>
#include <stdbool.h>
#include <unistd.h>
#include "client/window.h"
#include "client/registry.h"