lib/timer.c needs sys/time.h included under FreeBSD ...

Fabien Tassin fta at sofaraway.org
Wed Feb 7 13:42:14 UTC 2001


According to The Hermit Hacker:
> 
> gcc -I/usr/local/include/db3 -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c  -fPIC -DPIC timer.c -o .libs/timer.lo
> timer.c: In function `get_time':
> timer.c:69: storage size of `tv' isn't known
> timer.c:78: storage size of `base' isn't known

you need to include <sys/time.h>.

-- 
Fabien Tassin -+- fta at sofaraway.org


More information about the inn-workers mailing list