Devil 1.7.8 compilation error, osx 10.6
A full featured cross-platform image library
Brought to you by:
doomwiz
malloc.h does not exist in osx 10.6. The correct include, acording to the standard, is stdlib.h
Changing the include line fixes the error.
Please fix.
../src-ILU/ilur/ilur.c:3:20: error: malloc.h: No such file or directory
../src-ILU/ilur/ilur.c: In function ‘create_params’:
../src-ILU/ilur/ilur.c:105: warning: incompatible implicit declaration of built-in function ‘malloc’
../src-ILU/ilur/ilur.c: In function ‘parse_arguments’:
../src-ILU/ilur/ilur.c:207: warning: incompatible implicit declaration of built-in function ‘malloc’
make[1]: *** [ilur.o] Error 1
It has been fixed in the latest code on github. This can be closed.