Tip: Installing TinyFugue on OS X 10.5

(This is actually a repost of an older post from a different blog of mine – but since it seems to be popular, I figured I’d repost it here, where it’ll probably get a little more coverage.)

Anyone attempting to install the new TinyFugue 5.0 beta (5.0b8 as of this writing) will run into a compilation error trying to compile it on Leopard:

malloc.c:15: error: syntax error before ‘mmalloc_base’
malloc.c:15: warning: initialization makes integer from pointer without a cast
malloc.c:15: warning: data definition has no type or storage class
make[1]: *** [malloc.o] Error 1
make: *** [files] Error 2

Just above line 13 of malloc.c, the line that reads #include “malloc.h”, add this:

#include <sys/types.h>

And all is well.

Tags:

About the Author

Stop used to be a warlock, then he was a death knight; first he was Horde, then he was Alliance again, and now he's Horde again. For good this time. Lok'tar ogar!