time.h is gone in 4.2BSD
Mark Horton
mark at cbosgd.UUCP
Wed Jan 11 12:34:59 AEST 1984
The standard include line
#include <time.h>
which every program in the world has used since V7, and which works in
every other version of UNIX, does not work in 4.2BSD, because the file
has been moved to <sys/time.h>. This makes it nearly impossible to
write a program that works both on 4.2BSD and other versions of UNIX.
Fix:
ln /usr/include/sys/time.h /usr/include/time.h
Comments:
In future code I touch, such as netnews, I will assume this
link has been made. If you aren't a superuser, you can settle for
echo '#include <sys/time.h>' > ./time.h
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list