summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/stdint.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/stdint.h b/include/stdint.h
index 2e126d14bd..dea83c8226 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -5,3 +5,10 @@
*
* U-Boot uses linux types (linux/types.h) so does not make use of stdint.h
*/
+
+#ifndef __UB_STDINT_H
+#define __UB_STDINT_H
+
+#define UINT8_MAX 0xff
+
+#endif