summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 15:49:19 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 15:49:19 -0800
commit005a3d281fd63864528f3c4dfc3cbd25854a66dc (patch)
tree27bb6f191d645b235fd416f00e3ba2521b53c0da /util
parente9eb029d6e44d06fa9a596c4973c3f1d61341138 (diff)
Remove ifdef checks for non-Solaris SVR4 systems
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'util')
-rw-r--r--util/iopl.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/util/iopl.h b/util/iopl.h
index 6a284e7..a0440de 100644
--- a/util/iopl.h
+++ b/util/iopl.h
@@ -9,18 +9,11 @@
*/
int iopl(int level);
# endif
-# if defined(SVR4) && defined(i386)
+# if defined(SVR4) && defined(i386) && defined(sun)
# include <sys/types.h>
-# include <sys/sysi86.h>
-# ifdef SVR4
-# if !defined(sun)
-# include <sys/seg.h>
-# endif
-# endif
+# include <sys/sysi86.h>
# include <sys/v86.h>
-# if defined(sun)
-# include <sys/psw.h>
-# endif
+# include <sys/psw.h>
# endif
# include "AsmMacros.h"
#endif /* NetBSD */