src/video/wayland/SDL_waylandmouse.c
changeset 10154 fae27a079fcb
parent 10130 eba8155e32b1
child 10304 ee83e0b4a36f
     1.1 --- a/src/video/wayland/SDL_waylandmouse.c	Thu Apr 14 21:10:57 2016 +0200
     1.2 +++ b/src/video/wayland/SDL_waylandmouse.c	Thu Apr 14 21:11:43 2016 +0200
     1.3 @@ -27,7 +27,6 @@
     1.4  #define _GNU_SOURCE
     1.5  #endif
     1.6  
     1.7 -#include <errno.h>
     1.8  #include <sys/types.h>
     1.9  #include <sys/mman.h>
    1.10  #include <fcntl.h>
    1.11 @@ -70,7 +69,6 @@
    1.12  
    1.13      xdg_path = SDL_getenv("XDG_RUNTIME_DIR");
    1.14      if (!xdg_path) {
    1.15 -        errno = ENOENT;
    1.16          return -1;
    1.17      }
    1.18