[MPlayer-cvslog] r26086 - trunk/loader/ldt_keeper.c

diego subversion at mplayerhq.hu
Sun Feb 24 13:18:01 CET 2008


Author: diego
Date: Sun Feb 24 13:18:01 2008
New Revision: 26086

Log:
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


Modified:
   trunk/loader/ldt_keeper.c

Modified: trunk/loader/ldt_keeper.c
==============================================================================
--- trunk/loader/ldt_keeper.c	(original)
+++ trunk/loader/ldt_keeper.c	Sun Feb 24 13:18:01 2008
@@ -57,6 +57,11 @@ int modify_ldt(int func, void *ptr, unsi
 #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>



More information about the MPlayer-cvslog mailing list