diff options
Diffstat (limited to 'loader/ldt_keeper.c')
-rw-r--r-- | loader/ldt_keeper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/ldt_keeper.c b/loader/ldt_keeper.c index 00c8cb5a30..7c112c6d2a 100644 --- a/loader/ldt_keeper.c +++ b/loader/ldt_keeper.c @@ -60,6 +60,7 @@ int modify_ldt(int func, void *ptr, unsigned long bytecount); #include <sys/sysi86.h> /* solaris x86: add missing prototype for sysi86() */ +#ifdef HAVE_SYSI86 #ifdef __cplusplus extern "C" { #endif @@ -67,6 +68,7 @@ int sysi86(int, void*); #ifdef __cplusplus } #endif +#endif #ifndef NUMSYSLDTS /* SunOS 2.5.1 does not define NUMSYSLDTS */ #define NUMSYSLDTS 6 /* Let's hope the SunOS 5.8 value is OK */ |