summaryrefslogtreecommitdiff
path: root/src/kernel/lib/std.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib/std.h')
-rw-r--r--src/kernel/lib/std.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/lib/std.h b/src/kernel/lib/std.h
index 51e0435..ced49b5 100644
--- a/src/kernel/lib/std.h
+++ b/src/kernel/lib/std.h
@@ -5,7 +5,12 @@
#include <types.h> /* For size_t */
+#ifdef __cplusplus
+extern "C" void abort();
+#else
void abort();
+#endif
+
#define sbrk ksbrk
#define brk kbrk