From 2898ada3389bdf1a68da1cc975542b466b3cb045 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 10 Nov 2016 12:07:34 -0500 Subject: [PATCH] wayland: fixed compiler warning about pipe2(). --- src/video/wayland/SDL_waylanddatamanager.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video/wayland/SDL_waylanddatamanager.c b/src/video/wayland/SDL_waylanddatamanager.c index 809494762f091..afcec1a99cd0c 100644 --- a/src/video/wayland/SDL_waylanddatamanager.c +++ b/src/video/wayland/SDL_waylanddatamanager.c @@ -23,8 +23,10 @@ #if SDL_VIDEO_DRIVER_WAYLAND -#include +/* _GNU_SOURCE for pipe2 declaration. */ +#define _GNU_SOURCE #include +#include #include #include