mirror of https://github.com/encounter/SDL.git
wayland: fixed compiler warning about pipe2().
This commit is contained in:
parent
0a294a7ba0
commit
2898ada338
|
@ -23,8 +23,10 @@
|
|||
|
||||
#if SDL_VIDEO_DRIVER_WAYLAND
|
||||
|
||||
#include <unistd.h>
|
||||
/* _GNU_SOURCE for pipe2 declaration. */
|
||||
#define _GNU_SOURCE
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue