summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYichi Chen <yichichen@google.com>2021-12-28 17:21:34 +0800
committerYichi Chen <yichichen@google.com>2021-12-28 17:26:35 +0800
commitd3ab06c197a57ef87ce06a115ce358958d722dc0 (patch)
tree9ce76ad60a18c3c6ec4698ef4bd72fd00f7285e9 /include
parent3c24519111ca622ec0a9587f5dcaa12711d34be3 (diff)
gralloc: include proper header file for uint32_t
Since uint32_t is used in is_sbwc_format(uint32_t), including stdint.h is required to define the type for both C and C++. Bug: 208629666 Test: build pass Change-Id: Ib7d0bdab9faf7444fe258a2298113a26468a2b32
Diffstat (limited to 'include')
-rw-r--r--include/exynos_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exynos_format.h b/include/exynos_format.h
index 6e4807e..e7ee86f 100644
--- a/include/exynos_format.h
+++ b/include/exynos_format.h
@@ -17,6 +17,8 @@
#ifndef _EXYNOS_FORMAT_H_
#define _EXYNOS_FORMAT_H_
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif