Commit bc8bbf50dc911ad3073af389f54b54200cee4a91

Daniel Stone 2012-03-27T15:50:59

Fix build for X11 modifier masks Exposed by include path changes, oops. Signed-off-by: Daniel Stone <daniel@fooishbar.org>

diff --git a/src/misc.c b/src/misc.c
index 37e6375..ab72432 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -28,6 +28,8 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <config.h>
 #endif
 
+#include <X11/X.h>
+
 #include "xkballoc.h"
 #include "xkbmisc.h"
 #include "xkbcommon/xkbcommon.h"
diff --git a/src/xkbcomp/action.c b/src/xkbcomp/action.c
index d0e2f0f..eca1d6d 100644
--- a/src/xkbcomp/action.c
+++ b/src/xkbcomp/action.c
@@ -24,6 +24,8 @@
 
  ********************************************************/
 
+#include <X11/X.h>
+
 #include "xkbcomp.h"
 #include "xkbmisc.h"
 #include "expr.h"
diff --git a/src/xkbcomp/expr.c b/src/xkbcomp/expr.c
index 694d0c6..cb155db 100644
--- a/src/xkbcomp/expr.c
+++ b/src/xkbcomp/expr.c
@@ -24,6 +24,8 @@
 
  ********************************************************/
 
+#include <X11/X.h>
+
 #include "xkbcomp.h"
 #include "xkbmisc.h"
 #include "expr.h"