diff --git a/libavcodec/vorbis_parser.h b/libavcodec/vorbis_parser.h
index 7b129004ee4d289e4638e6577418f13137e16344..9ae1630f9f0281bfebdc82a66f6b3538e5aaa207 100644
--- a/libavcodec/vorbis_parser.h
+++ b/libavcodec/vorbis_parser.h
@@ -27,6 +27,8 @@
 #ifndef AVCODEC_VORBIS_PARSE_H
 #define AVCODEC_VORBIS_PARSE_H
 
+#include <stdint.h>
+
 typedef struct AVVorbisParseContext AVVorbisParseContext;
 
 /**