浏览代码

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.
Sam Lantinga 10 年之前
父节点
当前提交
9cf47d2f0d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/video/x11/SDL_x11messagebox.c

+ 1 - 0
src/video/x11/SDL_x11messagebox.c

@@ -28,6 +28,7 @@
 #include "SDL_x11dyn.h"
 #include "SDL_x11dyn.h"
 #include "SDL_assert.h"
 #include "SDL_assert.h"
 
 
+#include <X11/keysym.h>
 #include <locale.h>
 #include <locale.h>