vorbis_parser: Include stdint.h in the header, to make it work standalone

Message ID 1416905144-96520-1-git-send-email-martin@martin.st
State Committed
Commit f20141d73f08ed0c8e875bd993a7143e19b266e3
Headers show

Commit Message

Martin Storsjö Nov. 25, 2014, 8:45 a.m.
This fixes "make checkheaders".
---
 libavcodec/vorbis_parser.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Luca Barbato Nov. 25, 2014, 9:01 a.m. | #1
On 25/11/14 09:45, Martin Storsjö wrote:
> This fixes "make checkheaders".
> ---
>   libavcodec/vorbis_parser.h | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/libavcodec/vorbis_parser.h b/libavcodec/vorbis_parser.h
> index 7b12900..9ae1630 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;
>
>   /**
>

Ok.

Patch

diff --git a/libavcodec/vorbis_parser.h b/libavcodec/vorbis_parser.h
index 7b12900..9ae1630 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;
 
 /**