wayland: fixed compiler warning about pipe2().
authorRyan C. Gordon <icculus@icculus.org>
Thu, 10 Nov 2016 12:07:34 -0500
changeset 10594c5cb1db86a9f
parent 10593 9cfaba7f1d66
child 10595 9da2701eeb4a
wayland: fixed compiler warning about pipe2().
src/video/wayland/SDL_waylanddatamanager.c
     1.1 --- a/src/video/wayland/SDL_waylanddatamanager.c	Thu Nov 10 11:26:44 2016 -0500
     1.2 +++ b/src/video/wayland/SDL_waylanddatamanager.c	Thu Nov 10 12:07:34 2016 -0500
     1.3 @@ -23,8 +23,10 @@
     1.4  
     1.5  #if SDL_VIDEO_DRIVER_WAYLAND
     1.6  
     1.7 +/* _GNU_SOURCE for pipe2 declaration. */
     1.8 +#define _GNU_SOURCE
     1.9 +#include <fcntl.h>
    1.10  #include <unistd.h>
    1.11 -#include <fcntl.h>
    1.12  #include <limits.h>
    1.13  #include <signal.h>
    1.14