summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/parse_mp4.c2
-rw-r--r--libmpdemux/video.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/parse_mp4.c b/libmpdemux/parse_mp4.c
index 67ccce5a94..79770f821c 100644
--- a/libmpdemux/parse_mp4.c
+++ b/libmpdemux/parse_mp4.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <inttypes.h>
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h>
diff --git a/libmpdemux/video.c b/libmpdemux/video.c
index 41a3d7d006..58bcc6ad76 100644
--- a/libmpdemux/video.c
+++ b/libmpdemux/video.c
@@ -3,7 +3,7 @@
#include "config.h"
#include <stdio.h>
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h>