diff options
author | Simon Glass <sjg@chromium.org> | 2018-12-17 09:15:44 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-05-21 17:33:23 -0600 |
commit | 089ff8eb669f8c8e98bff2a6ea4bb5fd9bf34d3b (patch) | |
tree | 2e5c30329ec7450ed52d0b6e55c8de5a55bfab4b /include/stdint.h | |
parent | aaba703fd0f08f3c63ad241cbb29273f0ebbf2a6 (diff) |
Add an empty stdint.h file
Some libraries build by U-Boot may include stdint.h. This is not used by
U-Boot itself and causes conflicts with the types defined in
linux/types.h. To work around this, add an empty file with this name so
that it will be used in preference to the compiler version.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/stdint.h')
-rw-r--r-- | include/stdint.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/stdint.h b/include/stdint.h new file mode 100644 index 0000000000..2e126d14bd --- /dev/null +++ b/include/stdint.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Dummy file to allow libraries linked with U-Boot to include stdint.h without + * getting the system version. + * + * U-Boot uses linux types (linux/types.h) so does not make use of stdint.h + */ |