summaryrefslogtreecommitdiff
path: root/include/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdint.h')
-rw-r--r--include/stdint.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/stdint.h b/include/stdint.h
new file mode 100644
index 00000000000..90fd2bdee08
--- /dev/null
+++ b/include/stdint.h
@@ -0,0 +1,14 @@
+/* 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
+ */
+
+#ifndef __UB_STDINT_H
+#define __UB_STDINT_H
+
+#include <limits.h>
+
+#endif