summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h b/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h
index 574d64842..3d7ae308e 100644
--- a/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h
+++ b/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h
@@ -1,7 +1,8 @@
-#include <malloc.h>
#include <string.h>
#include <math.h>
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
#define USE_FOR_DSCALER