]> git.sesse.net Git - vlc/commitdiff
Fix compilation
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 20 Aug 2007 19:18:53 +0000 (19:18 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 20 Aug 2007 19:18:53 +0000 (19:18 +0000)
There is something seriously messed up in these files though
(like the declaration in xtag.h do not match the definition in xtag.c!)

modules/codec/cmml/xarray.c
modules/codec/cmml/xlist.c
modules/codec/cmml/xstrcat.h
modules/codec/cmml/xtag.c

index 0b5020acb76d2bc0600ebfbdc8a848694680f478..5bf679ae9724bf9c3e863dcff54c34cb1b3957dd 100644 (file)
@@ -24,7 +24,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  ************************************************************************/
 
-
+#include <stddef.h>
+#include <stdlib.h>
+#include <string.h>
 #include "xarray.h"
 
 #define XARRAY_ASSERT_NOT_NULL(xarray) \
index c8d810baea31dd4b85a6d69e807b9a42af0aed3c..944e2e0c092ed34b67cec3ed7f1a83f253b5e171 100644 (file)
@@ -25,6 +25,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#include <stdlib.h>
 
 #include "xlist.h"
 
index 20b3b5733fc0b4f8d32968882bd17801cee3b2c4..10731c844b8c407b78558ec324bdc43388da0e0d 100644 (file)
@@ -26,6 +26,8 @@
 
 #ifndef __XSTRCAT_H__
 #define __XSTRCAT_H__
+# include <string.h>
+# include <stdlib.h>
 
 /* like strcat, but realloc's enough memory for the new string too */
 
index 4ea0000c055c335f3b502fa9ccb5c93996d65f10..15ebe855734c3ab7525f7a16d5659123c07089b0 100644 (file)
@@ -30,6 +30,8 @@
 #include <ctype.h>
 #include <stdarg.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 #include <xlist.h>