malloc.c:2:19: fatal error: alloc.h: File or directory not found

When I use The library #include <alloc.h>, appears this error:

malloc.c:2:19: fatal error: alloc.h: File or directory not found

what is it?
Last edited on
This is probably because your make file (or your command line) doesn't include the path to this header.
You're compiling malloc.c?
just you have to use the stdlib.h header file to use the malloc function so kindly use that not to the alloc.h
Topic archived. No new replies allowed.