NapNEWS Redhat 7.x compile may need this
Brought to you by:
web1
I had to #include <string.h> and <stdlib.h> in
screen.cc in order to compile
napnews on RedHat 7.x. Otherwise I got
g++ -g -c -o screen.o screen.cc
screen.cc: In method `void Screen::clearline (int)':
screen.cc:80: `exit' undeclared (first use this
function)
screen.cc:80: (Each undeclared identifier is reported
only once for
each function it appears in.)
screen.cc: In method `void Screen::subject (char *)':
screen.cc:129: `strlen' undeclared (first use this
function)
make: *** [screen.o] Error 1