comparison loader/ldt_keeper.c @ 26054:d9b11d83367f

Add missing #includes for Mac OS X, fixes the warning ldt_keeper.c:243: warning: implicit declaration of function i386_set_ldt patch by Elias Pipping, elias pipping org
author diego
date Sun, 24 Feb 2008 12:18:01 +0000
parents b70f5ac9c001
children c99d53b76ee5
comparison
equal deleted inserted replaced
26053:a48a280fc0e1 26054:d9b11d83367f
55 #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) 55 #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
56 #include <machine/segments.h> 56 #include <machine/segments.h>
57 #include <machine/sysarch.h> 57 #include <machine/sysarch.h>
58 #endif 58 #endif
59 59
60 #if defined(__APPLE__)
61 #include <architecture/i386/table.h>
62 #include <i386/user_ldt.h>
63 #endif
64
60 #ifdef __svr4__ 65 #ifdef __svr4__
61 #include <sys/segment.h> 66 #include <sys/segment.h>
62 #include <sys/sysi86.h> 67 #include <sys/sysi86.h>
63 68
64 /* solaris x86: add missing prototype for sysi86(), but only when sysi86(int, void*) is known to be valid */ 69 /* solaris x86: add missing prototype for sysi86(), but only when sysi86(int, void*) is known to be valid */