# HG changeset patch # User diego # Date 1203855481 0 # Node ID d9b11d83367ff0284f1d22015bddd0abc3f92f5c # Parent a48a280fc0e15cbc24a646339505519047f6e150 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 diff -r a48a280fc0e1 -r d9b11d83367f loader/ldt_keeper.c --- 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 #endif +#if defined(__APPLE__) +#include +#include +#endif + #ifdef __svr4__ #include #include