summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2001-04-18 18:45:20 +0000
committerDavid Dawes <dawes@xfree86.org>2001-04-18 18:45:20 +0000
commit49781fcf37e30ed17513bd13a90ded39ab1b0b9d (patch)
treeaa09142d92673482aac51d0bd3b641277d95e67a
parent6f5e397f2549e7d5f806d2c44053d3d306a36f3a (diff)
put back BUS_BASE
-rw-r--r--libdrm/xf86drm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 33d387e9..4c8b1e84 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -67,6 +67,11 @@ extern int xf86RemoveSIGIOHandler(int fd);
# endif
#endif
+#if defined(__alpha__) && defined(__linux__)
+extern unsigned long _bus_base(void);
+#define BUS_BASE _bus_base()
+#endif
+
/* Not all systems have MAP_FAILED defined */
#ifndef MAP_FAILED
#define MAP_FAILED ((void *)-1)