summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xkb/XKBAlloc.c3
-rw-r--r--xkb/XKBGAlloc.c3
-rw-r--r--xkb/XKBMAlloc.c3
-rw-r--r--xkb/XKBMisc.c3
4 files changed, 12 insertions, 0 deletions
diff --git a/xkb/XKBAlloc.c b/xkb/XKBAlloc.c
index a6fec50f5..cc85b8f9e 100644
--- a/xkb/XKBAlloc.c
+++ b/xkb/XKBAlloc.c
@@ -28,6 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/xkb/XKBGAlloc.c b/xkb/XKBGAlloc.c
index 6aa41d06e..a1c0d1be8 100644
--- a/xkb/XKBGAlloc.c
+++ b/xkb/XKBGAlloc.c
@@ -31,6 +31,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "Xlibint.h"
#include "XKBlibint.h"
diff --git a/xkb/XKBMAlloc.c b/xkb/XKBMAlloc.c
index d1fd14f27..9fe33e7de 100644
--- a/xkb/XKBMAlloc.c
+++ b/xkb/XKBMAlloc.c
@@ -28,6 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c
index afc0dbebd..987c6e33a 100644
--- a/xkb/XKBMisc.c
+++ b/xkb/XKBMisc.c
@@ -28,6 +28,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS