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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/kernel/lib/std.h b/src/kernel/lib/std.h
new file mode 100644
index 0000000..51e0435
--- /dev/null
+++ b/src/kernel/lib/std.h
@@ -0,0 +1,14 @@
+#ifndef DEF_LIB_STD_H
+#define DEF_LIB_STD_H
+
+// Functions enabling the use of dlmalloc code
+
+#include <types.h> /* For size_t */
+
+void abort();
+#define sbrk ksbrk
+#define brk kbrk
+
+extern int errno;
+
+#endif