aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libao2/remez.c7
-rw-r--r--libmpeg2/header.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/libao2/remez.c b/libao2/remez.c
index afdce2c088..57f22ca9fd 100644
--- a/libao2/remez.c
+++ b/libao2/remez.c
@@ -20,7 +20,14 @@
*************************************************************************/
+#include "config.h"
#include "remez.h"
+
+#include <stdio.h>
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
+#include <stdlib.h>
#include <math.h>
/*******************
diff --git a/libmpeg2/header.c b/libmpeg2/header.c
index 2a104341ba..68483a71c1 100644
--- a/libmpeg2/header.c
+++ b/libmpeg2/header.c
@@ -22,6 +22,7 @@
#include "config.h"
#include <inttypes.h>
+#include <stdio.h>
#include "mpeg2_internal.h"
#include "attributes.h"