summaryrefslogtreecommitdiffstats
path: root/gl/lib/scratch_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/scratch_buffer.h')
-rw-r--r--gl/lib/scratch_buffer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gl/lib/scratch_buffer.h b/gl/lib/scratch_buffer.h
new file mode 100644
index 0000000..4c0db3e
--- /dev/null
+++ b/gl/lib/scratch_buffer.h
@@ -0,0 +1,11 @@
+#ifndef _GL_SCRATCH_BUFFER_H
+#define _GL_SCRATCH_BUFFER_H
+
+#include <libc-config.h>
+
+#define __libc_scratch_buffer_grow gl_scratch_buffer_grow
+#define __libc_scratch_buffer_grow_preserve gl_scratch_buffer_grow_preserve
+#define __libc_scratch_buffer_set_array_size gl_scratch_buffer_set_array_size
+#include <malloc/scratch_buffer.h>
+
+#endif /* _GL_SCRATCH_BUFFER_H */