wayland: fixed compiler warning about pipe2().

This commit is contained in:
Ryan C. Gordon 2016-11-10 12:07:34 -05:00
parent 0a294a7ba0
commit 2898ada338
1 changed files with 3 additions and 1 deletions

View File

@ -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>