mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
wayland: fixed compiler warning about pipe2().
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user