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

compn tempn at twmi.rr.com
Mon Jan 26 13:04:29 CET 2009


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>
>  #ifdef	HAVE_KSTAT
>  #include <kstat.h>
>  #endif


forwarding patch...

-compn



More information about the MPlayer-dev-eng mailing list