summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-11-30 03:51:46 +0000
committerAdam Jackson <ajax@nwnk.net>2005-11-30 03:51:46 +0000
commitf28dddb5515cb1c16f8c29e025195ea29d9f01d4 (patch)
treed792db5f99d0aab2190bef91c5116752d14ef264 /libdrm
parentea08b613bdc496b0e1aa3b723f8462d2c40ed8e5 (diff)
Resync from Xorg head: conditional include of xorg-config.h
Diffstat (limited to 'libdrm')
-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