1 From ff6d4326f839321c079d60ae9301c6202942f675 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Sat, 27 Aug 2016 14:31:04 +0200
4 Subject: [PATCH] Include <stdint.h> where needed
6 The {u,}int{8,16,32}_t types are defined in <stdint.h>, so it should be
7 included when such types are used.
9 Not including <stdint.h> might work by accident with some C libraries
10 due to it being included by other headers, but it for example causes
11 build failures with the musl C library.
13 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 Upstream-status: https://github.com/mdrjr/c2_aml_libs/pull/1
16 amadec/audio-dec.h | 1 +
17 amavutils/include/Amvideoutils.h | 2 ++
18 2 files changed, 3 insertions(+)
20 diff --git a/amadec/audio-dec.h b/amadec/audio-dec.h
21 index 4325fe4..ac0f36b 100644
22 --- a/amadec/audio-dec.h
23 +++ b/amadec/audio-dec.h
30 #include <audio-out.h>
32 diff --git a/amavutils/include/Amvideoutils.h b/amavutils/include/Amvideoutils.h
33 index 6f978e4..94f10a6 100644
34 --- a/amavutils/include/Amvideoutils.h
35 +++ b/amavutils/include/Amvideoutils.h
42 #define HDMI_HDCP_PASS (1)
43 #define HDMI_HDCP_FAILED (0)
44 #define HDMI_NOCONNECT (-1)