summaryrefslogtreecommitdiffstats
path: root/libdha/AsmMacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdha/AsmMacros.h')
-rw-r--r--libdha/AsmMacros.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/libdha/AsmMacros.h b/libdha/AsmMacros.h
index feb5ce02d1..3a1a9a5e52 100644
--- a/libdha/AsmMacros.h
+++ b/libdha/AsmMacros.h
@@ -61,18 +61,7 @@
#if defined(__GNUC__)
#if defined(linux) && (defined(__alpha__) || defined(__ia64__))
-#undef inb
-#undef inw
-#undef inl
-#undef outb
-#undef outw
-#undef outl
-#define inb _inb
-#define inw _inw
-#define inl _inl
-#define outb(p,v) _outb((v),(p))
-#define outw(p,v) _outw((v),(p))
-#define outl(p,v) _outl((v),(p))
+#include <sys/io.h>
#else
#if defined(__sparc__)
#ifndef ASI_PL