changeset 4178:a7fece7c628e

Grab PS_IOPL define from <sys/psw.h> on solaris x86
author jkeil
date Tue, 15 Jan 2002 18:46:31 +0000
parents cab4ac1467e4
children 866c74e83b08
files libdha/sysdep/pci_svr4.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/sysdep/pci_svr4.c	Tue Jan 15 17:04:01 2002 +0000
+++ b/libdha/sysdep/pci_svr4.c	Tue Jan 15 18:46:31 2002 +0000
@@ -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)