summaryrefslogtreecommitdiffstats
path: root/lib/allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/allocator.c')
-rw-r--r--lib/allocator.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/allocator.c b/lib/allocator.c
new file mode 100644
index 0000000..2c1a3da
--- /dev/null
+++ b/lib/allocator.c
@@ -0,0 +1,5 @@
+#define _GL_USE_STDLIB_ALLOC 1
+#include <config.h>
+#include "allocator.h"
+#include <stdlib.h>
+struct allocator const stdlib_allocator = { malloc, realloc, free, NULL };