diff --git a/libavcodec/mlp_parser.h b/libavcodec/mlp_parser.h
index 3b7f43f16e34c31f72c867a2caf837d619ba72d2..d690b4f4510c5f7ace1a0b86923f0352e70c3778 100644
--- a/libavcodec/mlp_parser.h
+++ b/libavcodec/mlp_parser.h
@@ -27,6 +27,8 @@
 #ifndef FFMPEG_MLP_PARSER_H
 #define FFMPEG_MLP_PARSER_H
 
+#include <inttypes.h>
+
 typedef struct MLPHeaderInfo
 {
     int stream_type;            ///< 0xBB for MLP, 0xBA for TrueHD