diff options
| author | David Eklov <david.eklov@gmail.com> | 2016-06-26 23:25:56 -0500 |
|---|---|---|
| committer | David Eklov <david.eklov@gmail.com> | 2016-06-26 23:25:56 -0500 |
| commit | 12ded9a141a82ff2e0ce0ba15b8e33f7c0a74dc1 (patch) | |
| tree | 561c657c8f81247722135292b167f6f447a27d1e /main.c | |
| parent | 6c1182716b85e0e90fef7195f5cee0c7b280cbb5 (diff) | |
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
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ #include <getopt.h> #include <signal.h> #include <stdbool.h> +#include <unistd.h> #include "client/window.h" #include "client/registry.h" |
