a few warning fixes (missing #include's)
authorPierre Lombard <p_l@gmx.fr>
Thu, 25 Oct 2001 23:34:14 +0000 (23:34 +0000)
committerPierre Lombard <p_l@gmx.fr>
Thu, 25 Oct 2001 23:34:14 +0000 (23:34 +0000)
Originally committed as revision 2477 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/postprocess.c
postproc/postprocess_template.c
postproc/swscale.c
postproc/swscale_template.c

index dbe6019..b097194 100644 (file)
@@ -74,6 +74,9 @@ Notes:
 #include <stdlib.h>
 #include <string.h>
 #include "../config.h"
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
 //#undef HAVE_MMX2
 //#define HAVE_3DNOW
 //#undef HAVE_MMX
index dbe6019..b097194 100644 (file)
@@ -74,6 +74,9 @@ Notes:
 #include <stdlib.h>
 #include <string.h>
 #include "../config.h"
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
 //#undef HAVE_MMX2
 //#define HAVE_3DNOW
 //#undef HAVE_MMX
index f36cdac..b26bea4 100644 (file)
@@ -6,6 +6,7 @@
 // the parts written by michael are under GNU GPL
 
 #include <inttypes.h>
+#include <string.h>
 #include "../config.h"
 #include "swscale.h"
 
index f36cdac..b26bea4 100644 (file)
@@ -6,6 +6,7 @@
 // the parts written by michael are under GNU GPL
 
 #include <inttypes.h>
+#include <string.h>
 #include "../config.h"
 #include "swscale.h"