mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-12 01:15:39 +00:00
wayland: fixed compiler warning about pipe2().
This commit is contained in:
parent
0a294a7ba0
commit
2898ada338
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue