Article in the C forum contributed by taverasme. ... The getline() man page (http://linux.die.net/man/3/getline) requires stdio.h and stdlib.h for getline to compile.
www.daniweb.com