mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 22:17:59 +00:00
wayland: fixed compiler warning about pipe2().
This commit is contained in:
@@ -23,8 +23,10 @@
|
|||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_WAYLAND
|
#if SDL_VIDEO_DRIVER_WAYLAND
|
||||||
|
|
||||||
#include <unistd.h>
|
/* _GNU_SOURCE for pipe2 declaration. */
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user