--- ./src/utmp.c.org Thu Jan 23 10:46:02 1997 +++ ./src/utmp.c Thu Apr 24 15:20:49 1997 @@ -84,6 +84,9 @@ # include # define USE_SYSV_UTMP #else +# if defined(__FreeBSD__) && __FreeBSD__ >= 3 +# include +# endif # include # ifdef HAVE_SETUTENT # define USE_SYSV_UTMP