Skip to contentSkip to conversation

Add an empty stdint.h file

PATCH New Simon Glass 1 participant 1 message Dec 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 include/stdint.h | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 include/stdint.h
include/stdint.h new file +7 -0
new file mode 100644
index 00000000000..2e126d14bd9
@@ -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
+ */
Signature · 1 line
2.20.0.405.gbc1bbc6f85-goog