1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

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
This commit is contained in:
diego 2008-02-24 12:18:01 +00:00
parent 4bf51158a9
commit c9836ea2b0

View File

@ -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>