diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-24 12:18:01 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-24 12:18:01 +0000 |
commit | c9836ea2b028b14af96bc5692e4d6252751a4c1e (patch) | |
tree | 491728c6ea6ad6e0d747e7fbdfa3343002a7f29f /loader | |
parent | 4bf51158a979d107932323bf4afab8616a9096da (diff) | |
download | mpv-c9836ea2b028b14af96bc5692e4d6252751a4c1e.tar.bz2 mpv-c9836ea2b028b14af96bc5692e4d6252751a4c1e.tar.xz |
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
Diffstat (limited to 'loader')
-rw-r--r-- | loader/ldt_keeper.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <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> |