aboutsummaryrefslogtreecommitdiffstats
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 00000000000..2c1a3da03aa
--- /dev/null
+++ b/lib/allocator.c
@@ -0,0 +1,5 @@
1#define _GL_USE_STDLIB_ALLOC 1
2#include <config.h>
3#include "allocator.h"
4#include <stdlib.h>
5struct allocator const stdlib_allocator = { malloc, realloc, free, NULL };