Skip to content

Commit

Permalink
wayland: fixed compiler warning about pipe2().
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 10, 2016
1 parent 0a294a7 commit 2898ada
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/video/wayland/SDL_waylanddatamanager.c
Expand Up @@ -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>

Expand Down

0 comments on commit 2898ada

Please sign in to comment.