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 dbe60191fbe87d19d34b9a98a5ac8ba3f8010863..b097194c92205c9dbed7e2d98154d40f8da8d113 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 dbe60191fbe87d19d34b9a98a5ac8ba3f8010863..b097194c92205c9dbed7e2d98154d40f8da8d113 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 f36cdac937deca8d9d2ebfd3e10c14977f4c4149..b26bea4483a810d6f45649ca1eac0ab932641f4b 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 f36cdac937deca8d9d2ebfd3e10c14977f4c4149..b26bea4483a810d6f45649ca1eac0ab932641f4b 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"