From c9836ea2b028b14af96bc5692e4d6252751a4c1e Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 24 Feb 2008 12:18:01 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26086 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/ldt_keeper.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/loader/ldt_keeper.c b/loader/ldt_keeper.c index dc4c15572f..5154d9ec76 100644 --- a/loader/ldt_keeper.c +++ b/loader/ldt_keeper.c @@ -57,6 +57,11 @@ int modify_ldt(int func, void *ptr, unsigned long bytecount); #include #endif +#if defined(__APPLE__) +#include +#include +#endif + #ifdef __svr4__ #include #include