diff --git a/src/legacy/valloc.c b/src/legacy/valloc.c new file mode 100644 index 0000000000000000000000000000000000000000..e48cf2146c9ba65ad9c0e0805bf147d87c1cdf48 --- /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); +}