diff --git a/postproc/postprocess.c b/postproc/postprocess.c index dbe60191fb..b097194c92 100644 --- a/postproc/postprocess.c +++ b/postproc/postprocess.c @@ -74,6 +74,9 @@ Notes: #include #include #include "../config.h" +#ifdef HAVE_MALLOC_H +#include +#endif //#undef HAVE_MMX2 //#define HAVE_3DNOW //#undef HAVE_MMX diff --git a/postproc/postprocess_template.c b/postproc/postprocess_template.c index dbe60191fb..b097194c92 100644 --- a/postproc/postprocess_template.c +++ b/postproc/postprocess_template.c @@ -74,6 +74,9 @@ Notes: #include #include #include "../config.h" +#ifdef HAVE_MALLOC_H +#include +#endif //#undef HAVE_MMX2 //#define HAVE_3DNOW //#undef HAVE_MMX diff --git a/postproc/swscale.c b/postproc/swscale.c index f36cdac937..b26bea4483 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -6,6 +6,7 @@ // the parts written by michael are under GNU GPL #include +#include #include "../config.h" #include "swscale.h" diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index f36cdac937..b26bea4483 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -6,6 +6,7 @@ // the parts written by michael are under GNU GPL #include +#include #include "../config.h" #include "swscale.h"