aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Sapountzis2007-04-26 06:15:55 -0500
committerGeorge Sapountzis2007-04-26 06:15:55 -0500
commitb69b42634619076d4163ae144f0154880d1928cd (patch)
treee85e6a580c0a2dd7df866539cc14a157286a43b4 /libdrm/xf86drmHash.c
parent2a6f555053bd404e7e5721c40990da2d9db53d19 (diff)
downloadexternal-libdrm-b69b42634619076d4163ae144f0154880d1928cd.tar.gz
external-libdrm-b69b42634619076d4163ae144f0154880d1928cd.tar.xz
external-libdrm-b69b42634619076d4163ae144f0154880d1928cd.zip
libdrm: remove HAVE_XORG_CONFIG_H and XFree86LOADER ifdef's.
We no longer import libdrm in the xserver.
Diffstat (limited to 'libdrm/xf86drmHash.c')
-rw-r--r--libdrm/xf86drmHash.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/libdrm/xf86drmHash.c b/libdrm/xf86drmHash.c
index a1908d09..d1ade063 100644
--- a/libdrm/xf86drmHash.c
+++ b/libdrm/xf86drmHash.c
@@ -25,8 +25,6 @@
25 * 25 *
26 * Authors: Rickard E. (Rik) Faith <faith@valinux.com> 26 * Authors: Rickard E. (Rik) Faith <faith@valinux.com>
27 * 27 *
28 * $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmHash.c,v 1.4 2001/03/21 18:08:54 dawes Exp $
29 *
30 * DESCRIPTION 28 * DESCRIPTION
31 * 29 *
32 * This file contains a straightforward implementation of a fixed-sized 30 * This file contains a straightforward implementation of a fixed-sized
@@ -70,25 +68,14 @@
70 * 68 *
71 */ 69 */
72 70
73#ifdef HAVE_XORG_CONFIG_H 71#include <stdio.h>
74#include <xorg-config.h> 72#include <stdlib.h>
75#endif
76 73
77#define HASH_MAIN 0 74#define HASH_MAIN 0
78 75
79#if HASH_MAIN 76#if !HASH_MAIN
80# include <stdio.h>
81# include <stdlib.h>
82#else
83# include "drm.h" 77# include "drm.h"
84# include "xf86drm.h" 78# include "xf86drm.h"
85# ifdef XFree86LOADER
86# include "xf86.h"
87# include "xf86_ansic.h"
88# else
89# include <stdio.h>
90# include <stdlib.h>
91# endif
92#endif 79#endif
93 80
94#define HASH_MAGIC 0xdeadbeef 81#define HASH_MAGIC 0xdeadbeef