Remove #ifdef HAVE_TIME_H wrapper. ok djm@
sys/sysmacros.h \
sys/timers.h \
sys/vfs.h \
- time.h \
tmpdir.h \
ttyent.h \
ucred.h \
# the equivalent file. This avoids having to wrap those includes in
# '#ifdef HAVE_FOO_H'. If we create any such headers, add the path to includes.
compatincludes=no
-AC_CHECK_HEADERS([ifaddrs.h paths.h poll.h stdint.h sys/stat.h sys/time.h util.h], [], [
+AC_CHECK_HEADERS([ifaddrs.h paths.h poll.h stdint.h sys/stat.h sys/time.h time.h util.h], [], [
compatincludes="`pwd`/openbsd-compat/include"
header="$compatincludes/$ac_header"
dir=`dirname "$header"`
#include <string.h>
#include <pwd.h>
#include <netdb.h>
-#ifdef HAVE_TIME_H
#include <time.h>
-#endif
#include "loginrec.h"
#include <netdb.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_TIME_H
-# include <time.h>
-#endif
+#include <time.h>
#include <unistd.h>
#include "digest.h"