libshout-idjc missing includes in icy.c and legacy.c
A feature packed DJ console and internet radio client for Linux users
Status: Beta
Brought to you by:
s-fairchild
There seem to be a few #includes missing in libshout-idjc. You don't notice that when you HAVE_OPENSSL, because then openssl/ssl.h (included from shout_private.h) includes the missing headers, I guess.
icy.c:81:17: error: implicit declaration of function 'free'
icy.c:87:21: error: implicit declaration of function 'malloc'
legacy.c:78:9: error: implicit declaration of function 'free'
(missing stdlib.h)
icy.c:93:13: error: implicit declaration of function 'snprintf'
(missing stdio.h)
Confirmed. Tried ./configure --disable-openssl but then it did not build before resorting to editing config.h.
This appears to be a bug from the upstream libshout. Anyway I have it working and will push a fix soon.