[MPlayer-dev-eng] [PATCH] loader/win32.c: remove unneeded #include <sys/timeb.h>

compn tempn at twmi.rr.com
Mon Jan 26 16:19:12 CET 2009


On Mon, 26 Jan 2009 15:09:13 +0100, Diego Biurrun wrote:
>On Mon, Jan 26, 2009 at 07:04:29AM -0500, compn wrote:
>> On 1/26/09, Markus Heidelberg <markus(x.x)heidelberg(x at x)web(x.x)de>
>> wrote:
>> > MPlayer fails to build on a uClibc based i386 system (Buildroot), where
>> > UCLIBC_SUSV3_LEGACY is not defined, with the following error message:
>> > win32.c:67:23: error: sys/timeb.h: No such file or directory
>> >
>> > Remove the include file, as the obsolete ftime() isn't used at all.
>> >
>> > --- a/loader/win32.c	2009-01-26 01:53:20.000000000 +0100
>> > +++ b/loader/win32.c	2009-01-26 01:53:39.000000000 +0100
>> > @@ -63,7 +63,6 @@
>> >  #include <sys/types.h>
>> >  #include <dirent.h>
>> >  #include <sys/time.h>
>> > -#include <sys/timeb.h>
>> 
>> forwarding patch...
>
>Apply if it works for you.

i'll test on mingw later, could someone test on linux?

-compn



More information about the MPlayer-dev-eng mailing list