From 154f8de95ded38a648ae441f0c8fa6c90318b25c Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 20 May 1997 22:05:47 +0000 Subject: [PATCH] fix git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1755 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/logwtmp.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/appl/ftp/ftpd/logwtmp.c b/appl/ftp/ftpd/logwtmp.c index fb1f8d2d9..297246760 100644 --- a/appl/ftp/ftpd/logwtmp.c +++ b/appl/ftp/ftpd/logwtmp.c @@ -41,10 +41,22 @@ RCSID("$Id$"); #endif -#include -#include #include #include +#ifdef TIME_WITH_SYS_TIME +#include +#include +#elif defined(HAVE_SYS_TIME_H) +#include +#else +#include +#endif +#ifdef HAVE_UNISTD_H +#include +#endif +#ifdef HAVE_FCNTL_H +#include +#endif #ifdef HAVE_UTMP_H #include #endif