summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdrm/xf86drm.c4
-rw-r--r--libdrm/xf86drmHash.c4
-rw-r--r--libdrm/xf86drmRandom.c4
-rw-r--r--libdrm/xf86drmSL.c4
4 files changed, 16 insertions, 0 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 4759e0fe..f1ea4fc6 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -33,6 +33,10 @@
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c,v 1.36 2003/08/24 17:35:35 tsi Exp $ */
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#ifdef XFree86Server
# include "xf86.h"
# include "xf86_OSproc.h"
diff --git a/libdrm/xf86drmHash.c b/libdrm/xf86drmHash.c
index 3ee9c028..c3e7f0d7 100644
--- a/libdrm/xf86drmHash.c
+++ b/libdrm/xf86drmHash.c
@@ -70,6 +70,10 @@
*
*/
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#define HASH_MAIN 0
#if HASH_MAIN
diff --git a/libdrm/xf86drmRandom.c b/libdrm/xf86drmRandom.c
index 8db57a50..301aaf4c 100644
--- a/libdrm/xf86drmRandom.c
+++ b/libdrm/xf86drmRandom.c
@@ -73,6 +73,10 @@
*
*/
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#define RANDOM_MAIN 0
#if RANDOM_MAIN
diff --git a/libdrm/xf86drmSL.c b/libdrm/xf86drmSL.c
index 41e36a73..5f3c88d2 100644
--- a/libdrm/xf86drmSL.c
+++ b/libdrm/xf86drmSL.c
@@ -40,6 +40,10 @@
*
*/
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#define SL_MAIN 0
#if SL_MAIN