summaryrefslogtreecommitdiffstats
path: root/libdha/sysdep/pci_svr4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdha/sysdep/pci_svr4.c')
-rw-r--r--libdha/sysdep/pci_svr4.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdha/sysdep/pci_svr4.c b/libdha/sysdep/pci_svr4.c
index fd8b9cbfec..bcce5c901d 100644
--- a/libdha/sysdep/pci_svr4.c
+++ b/libdha/sysdep/pci_svr4.c
@@ -15,8 +15,10 @@
#endif
#if defined(sun)
-#ifndef __EXTENSIONS__
-#define __EXTENSIONS__
+# ifndef __EXTENSIONS__
+# define __EXTENSIONS__
+# endif
+# include <sys/psw.h>
#endif
static __inline__ int enable_os_io(void)