[MPlayer-dev-eng] [PATCH] libdts FreeBSD problem

Bohdan Horst nexus at irc.pl
Thu Aug 12 16:29:13 CEST 2004


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


regards

-- 
Bohdan 'Nexus' Horst




More information about the MPlayer-dev-eng mailing list