From f28dddb5515cb1c16f8c29e025195ea29d9f01d4 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 30 Nov 2005 03:51:46 +0000 Subject: Resync from Xorg head: conditional include of xorg-config.h --- libdrm/xf86drm.c | 4 ++++ libdrm/xf86drmHash.c | 4 ++++ libdrm/xf86drmRandom.c | 4 ++++ libdrm/xf86drmSL.c | 4 ++++ 4 files changed, 16 insertions(+) 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 +#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 +#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 +#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 +#endif + #define SL_MAIN 0 #if SL_MAIN -- cgit v1.2.3