[MPlayer-dev-eng] [PATCH] libdts FreeBSD problem
Roberto Togni
r_togni at tiscali.it
Thu Aug 12 18:20:03 CEST 2004
On 2004.08.12 16:29, Bohdan Horst wrote:
>
> FreeBSD 5.2.1
> gcc version 3.3.3 [FreeBSD] 20031106
>
> In file included from dtsdec.c:31:
> /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by
> <stdlib.h>"
> gmake[1]: *** [dtsdec.o] Error 1
>
>
> patch proposal (i know.. wrong list..:) :
>
> --- dtsdec.c.orig Thu Aug 12 16:16:39 2004
> +++ dtsdec.c Thu Aug 12 16:16:24 2004
> @@ -28,7 +28,10 @@
>
> #include <stdlib.h>
> #include <string.h>
> +
> +#ifdef HAVE_MALLOC_H
> #include <malloc.h>
> +#endif
>
> #define INBUF_SIZE 4096
> #define BUFFER_SIZE 4096
>
>
What version of libdts are you using?
I can't find any reference to malloc.h both in 0.0.2 and in current svn
Please try to upgrade your libdts
Ciao,
Roberto
More information about the MPlayer-dev-eng
mailing list