diff --git a/libavcodec/vorbis_parser.h b/libavcodec/vorbis_parser.h
index 086e36475ae94e24af987749a256c2b5e27bed65..0f73537ae5392a26ca31fefe59304fb3edbdd0b0 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;
 
 /**