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 6c1182716b
commit 12ded9a141

1
main.c
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"