testers: add missing #include <unistd.h> (#12862)
FreeBSD clang needs the header to be included for read(), write(), pipe(), close(), etc.
This commit is contained in:
parent
a3c8533d74
commit
7d8f57083e
7 changed files with 9 additions and 2 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <wayland-client.h>
|
||||
#include <wayland.hpp>
|
||||
|
|
@ -332,4 +333,4 @@ int main(int argc, char** argv) {
|
|||
|
||||
wl_display_disconnect(display);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue