On 20. bře 11 18:12, Thomas Dickey wrote:
On Sun, 20 Mar 2011, Petr Pavlu wrote:
Hello,
ncurses compilation failed for me because time.h header was
missing on my system. I think that existence of time.h header
should be checked already in the configure script thus I'm
attaching a one-liner fix. It also contains a fix for one
typo. ;)
thanks - this doesn't seem to be a new problem. There's no corresponding
ifdef's in the code for HAVE_TIME_H however - so simply adding the
configure check wouldn't do much. What was the failure?
I apologize, the actually missing check was for math.h. There
isn't needed any extra check for time.h on my system (Solaris 11)
because it's contained in a same package as sys/time.h.