diff options
author | 2025-03-05 09:13:41 +0000 | |
---|---|---|
committer | 2025-03-05 09:13:48 +0000 | |
commit | 36880b3e34dbc7fc948c76d7f39fdebd0f600167 (patch) | |
tree | 41e5bfe742db29a0c8d1a24baa20246cf1f8842f /include | |
parent | 6dfc509ab2e4b41af14d2cb041ada2a2d2532de5 (diff) |
frameworks/native: Include stdint.h for int32_t type
This commit fixes the following compiler error with gcc 14.2.0.
native/include/android/configuration.h:531:1: error: 'int32_t' does not name a type
531 | int32_t AConfiguration_getMcc(AConfiguration* config);
| ^~~~~~~
native/include/android/configuration.h:536:52: error: 'int32_t' has not been declared
536 | void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
| ^~~~~~~
Change-Id: I11fd658d799801fb6267ab48d4a890cab2086121
Diffstat (limited to 'include')
-rw-r--r-- | include/android/configuration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/android/configuration.h b/include/android/configuration.h index 46c7dfeceb..a291db0ecd 100644 --- a/include/android/configuration.h +++ b/include/android/configuration.h @@ -26,6 +26,7 @@ #ifndef ANDROID_CONFIGURATION_H #define ANDROID_CONFIGURATION_H +#include <stdint.h> #include <sys/cdefs.h> #include <android/asset_manager.h> |