Here is a program I\'m trying to run straight from section 1.9 of \"The C Programming Language\".
#include #define MAXLINE 1000 int getline(
getline is now a POSIX function declared in stdio.h
getline
stdio.h
Rename you getline function to another name and it will compile.