Fixed bug 3010 - SDL_x11messagebox.c needs including X11/keysym.h
authorSam Lantinga <slouken@libsdl.org>
Sat, 13 Jun 2015 13:34:30 -0700
changeset 9733dd3c3024723c
parent 9732 586417de8897
child 9734 e9738a3ac057
Fixed bug 3010 - SDL_x11messagebox.c needs including X11/keysym.h

Ozkan Sezer

SDL_x11messagebox.c needs including <X11/keysym.h> otherwise XK_Escape,
etc might not be available to it. Seen this with x.org-x11-6.8.2.
src/video/x11/SDL_x11messagebox.c
     1.1 --- a/src/video/x11/SDL_x11messagebox.c	Sat Jun 13 13:19:31 2015 -0700
     1.2 +++ b/src/video/x11/SDL_x11messagebox.c	Sat Jun 13 13:34:30 2015 -0700
     1.3 @@ -28,6 +28,7 @@
     1.4  #include "SDL_x11dyn.h"
     1.5  #include "SDL_assert.h"
     1.6  
     1.7 +#include <X11/keysym.h>
     1.8  #include <locale.h>
     1.9  
    1.10