summaryrefslogtreecommitdiffstats
path: root/dvdread/nav_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'dvdread/nav_read.c')
-rw-r--r--dvdread/nav_read.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dvdread/nav_read.c b/dvdread/nav_read.c
index 1a907f9dfe..2de0b859b7 100644
--- a/dvdread/nav_read.c
+++ b/dvdread/nav_read.c
@@ -20,7 +20,11 @@
#include <stdio.h>
#include <string.h>
+#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
+#elif defined(HAVE_STDINT_H)
+#include <stdint.h>
+#endif
#include "bswap.h"
#include "nav_types.h"