summaryrefslogtreecommitdiff
path: root/userspace/cpp/prep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/cpp/prep.cpp')
-rw-r--r--userspace/cpp/prep.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/userspace/cpp/prep.cpp b/userspace/cpp/prep.cpp
new file mode 100644
index 0000000..a09adbe
--- /dev/null
+++ b/userspace/cpp/prep.cpp
@@ -0,0 +1,8 @@
+#include <reent.h>
+#include <cstring>
+
+void prep()
+{
+_REENT_INIT_PTR(_impure_ptr);
+}
+