diff --git a/src/legacy/valloc.c b/src/legacy/valloc.c new file mode 100644 index 00000000..e48cf214 --- /dev/null +++ b/src/legacy/valloc.c @@ -0,0 +1,8 @@ +#define _BSD_SOURCE +#include +#include + +void *valloc(size_t size) +{ + return memalign(PAGE_SIZE, size); +}