Fix build for X11 modifier masks Exposed by include path changes, oops. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
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"