changeset 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 a48a280fc0e1
children d8e46fa37615
files loader/ldt_keeper.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/ldt_keeper.c	Sun Feb 24 12:05:20 2008 +0000
+++ b/loader/ldt_keeper.c	Sun Feb 24 12:18:01 2008 +0000
@@ -57,6 +57,11 @@
 #include <machine/sysarch.h>
 #endif
 
+#if defined(__APPLE__)
+#include <architecture/i386/table.h>
+#include <i386/user_ldt.h>
+#endif
+
 #ifdef __svr4__
 #include <sys/segment.h>
 #include <sys/sysi86.h>