Use TIME_WITH_SYS_TIME

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1601 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-04-20 05:51:30 +00:00
parent 82f248ad20
commit 85ed18dbb3
15 changed files with 93 additions and 22 deletions

View File

@@ -204,13 +204,11 @@ int rcmd(char **ahost, unsigned short inport, const char *locuser,
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#elif defined(HAVE_SYS_TIME_H)
#include <sys/time.h>
#else
#include <time.h>
#endif /* !HAVE_SYS_TIME_H */
#endif /* !TIME_WITH_SYS_TIME */
#endif
time_t tm2time (struct tm tm, int local);