summaryrefslogtreecommitdiff
path: root/brk_shim.h
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2026-03-02 19:39:44 -0800
committerThomas Ulmer <thomasmulmer02@gmail.com>2026-03-02 19:39:44 -0800
commit54de1d6ca94bc0f7ffac6ad721933caf4db46ed5 (patch)
treef4b73f06509db5ad9312fe6095b91a10f38e1f33 /brk_shim.h
parentaf7a7377241af78c70c7badf8ddfc79e55325899 (diff)
changes to compile with musl (avoid sbrk)
Diffstat (limited to 'brk_shim.h')
-rw-r--r--brk_shim.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/brk_shim.h b/brk_shim.h
new file mode 100644
index 0000000..3e81758
--- /dev/null
+++ b/brk_shim.h
@@ -0,0 +1,4 @@
+#include <stdint.h>
+
+int shim_brk(void *addr);
+void *shim_sbrk(intptr_t increment);