summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/include/stdbool.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/payloads/libpayload/include/stdbool.h b/payloads/libpayload/include/stdbool.h
new file mode 100644
index 0000000000..33858d51f2
--- /dev/null
+++ b/payloads/libpayload/include/stdbool.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
+#ifndef __STDBOOL_H
+#define __STDBOOL_H
+
+#define bool _Bool
+#define false 0
+#define true (!false)
+
+#endif