mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01: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:
parent
b5818150b9
commit
d3c947676d
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "client/window.h"
|
#include "client/window.h"
|
||||||
#include "client/registry.h"
|
#include "client/registry.h"
|
||||||
|
|
Loading…
Reference in a new issue