aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp4ff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mp4ff/mp4ff_int_types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mp4ff/mp4ff_int_types.h b/src/mp4ff/mp4ff_int_types.h
index 8dbf7bc2e..88651a81c 100644
--- a/src/mp4ff/mp4ff_int_types.h
+++ b/src/mp4ff/mp4ff_int_types.h
@@ -15,9 +15,16 @@ typedef unsigned __int64 uint64_t;
#else
-#include <stdint.h>
+#include "../../config.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
#endif
+#endif
#endif