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/xf86drmRandom.c
parent2a6f555053bd404e7e5721c40990da2d9db53d19 (diff)
downloadexternal-libgbm-b69b42634619076d4163ae144f0154880d1928cd.tar.gz
external-libgbm-b69b42634619076d4163ae144f0154880d1928cd.tar.xz
external-libgbm-b69b42634619076d4163ae144f0154880d1928cd.zip
libdrm: remove HAVE_XORG_CONFIG_H and XFree86LOADER ifdef's.
We no longer import libdrm in the xserver.
Diffstat (limited to 'libdrm/xf86drmRandom.c')
-rw-r--r--libdrm/xf86drmRandom.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/libdrm/xf86drmRandom.c b/libdrm/xf86drmRandom.c
index 3f5bf611..61ffb078 100644
--- a/libdrm/xf86drmRandom.c
+++ b/libdrm/xf86drmRandom.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/xf86drmRandom.c,v 1.4 2000/06/17 00:03:34 martin Exp $
29 *
30 * DESCRIPTION 28 * DESCRIPTION
31 * 29 *
32 * This file contains a simple, straightforward implementation of the Park 30 * This file contains a simple, straightforward implementation of the Park
@@ -73,25 +71,14 @@
73 * 71 *
74 */ 72 */
75 73
76#ifdef HAVE_XORG_CONFIG_H 74#include <stdio.h>
77#include <xorg-config.h> 75#include <stdlib.h>
78#endif
79 76
80#define RANDOM_MAIN 0 77#define RANDOM_MAIN 0
81 78
82#if RANDOM_MAIN 79#if !RANDOM_MAIN
83# include <stdio.h>
84# include <stdlib.h>
85#else
86# include "drm.h" 80# include "drm.h"
87# include "xf86drm.h" 81# include "xf86drm.h"
88# ifdef XFree86LOADER
89# include "xf86.h"
90# include "xf86_ansic.h"
91# else
92# include <stdio.h>
93# include <stdlib.h>
94# endif
95#endif 82#endif
96 83
97#define RANDOM_MAGIC 0xfeedbeef 84#define RANDOM_MAGIC 0xfeedbeef