I'm trying to compile this on macOS (11.5.2) but it's searching for and failing to find malloc.h:
xdrf-master make
m4 conf/linux.m4 libxdrf.m4 > libxdrf.c
gcc -O -Dlinux -c libxdrf.c
libxdrf.c:153:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
1 error generated.
make: *** [libxdrf.o] Error 1
My understanding is that malloc.h is deprecated and including stdlib.h for malloc is sufficient. Is there a workaround that would let me compile this? Or am I missing something?