summaryrefslogtreecommitdiff
path: root/bsps/sparc64
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-02-07 09:23:26 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-02-07 09:23:26 +0100
commit18f285c2968d72a142dc638aa639fdf8e9a59275 (patch)
tree6592b7eeac52ab76acc39373d3739851ca0b83c1 /bsps/sparc64
parent0f7913b9110ef1a45427f42558df1bc042f9af91 (diff)
bsps/sparc64: Fix redefinitions
Diffstat (limited to 'bsps/sparc64')
-rw-r--r--bsps/sparc64/include/boot/gentypes.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/bsps/sparc64/include/boot/gentypes.h b/bsps/sparc64/include/boot/gentypes.h
index a3e82d6eef..57f3725baf 100644
--- a/bsps/sparc64/include/boot/gentypes.h
+++ b/bsps/sparc64/include/boot/gentypes.h
@@ -35,11 +35,8 @@
#ifndef BOOT_GENTYPES_H_
#define BOOT_GENTYPES_H_
-#define NULL 0
-#define false 0
-#define true 1
-
-typedef unsigned long size_t;
+#include <stddef.h>
+#include <stdbool.h>
#endif