summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
Diffstat (limited to 'xserver')
-rw-r--r--xserver/hw/xfree86/os-support/shared/stdResource.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/xserver/hw/xfree86/os-support/shared/stdResource.c b/xserver/hw/xfree86/os-support/shared/stdResource.c
index ad4685605..6f7f07a98 100644
--- a/xserver/hw/xfree86/os-support/shared/stdResource.c
+++ b/xserver/hw/xfree86/os-support/shared/stdResource.c
@@ -31,9 +31,6 @@
#include <xorg-config.h>
#endif
-#ifdef __UNIXOS2__
-# define I_NEED_OS2_H
-#endif
#include <X11/X.h>
#include "xf86.h"
#include "xf86Priv.h"
@@ -43,9 +40,6 @@
#include "xf86_OSlib.h"
#include "xf86Resources.h"
-#ifdef __UNIXOS2__
-# undef ADDRESS
-#endif
/* Avoid Imakefile changes */
#include "bus/Pci.h"
@@ -115,6 +109,7 @@ xf86StdIsaBusAccWindowsFromOS(void)
resPtr
xf86StdAccResFromOS(resPtr ret)
{
+#ifndef __sparc64__
resRange range;
/*
@@ -176,6 +171,7 @@ xf86StdAccResFromOS(resPtr ret)
ret = xf86AddResToList(ret, &range, -1);
/* XXX add others */
+#endif
return ret;
}