From 00faaa405e5bde4e35fd81168cd4ec5962a3b036 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 29 Sep 1996 02:29:37 +0000 Subject: [PATCH] autoconfed a little to make it compile. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@796 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/rpw.c | 3 +++ lib/des/speed.c | 19 ++++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/lib/des/rpw.c b/lib/des/rpw.c index 2213a56a9..433b2f17a 100644 --- a/lib/des/rpw.c +++ b/lib/des/rpw.c @@ -45,6 +45,9 @@ * [including the GNU Public Licence.] */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include "des.h" diff --git a/lib/des/speed.c b/lib/des/speed.c index ee517b186..c659cf5b1 100644 --- a/lib/des/speed.c +++ b/lib/des/speed.c @@ -53,21 +53,21 @@ #endif #include -#ifndef MSDOS +#ifdef HAVE_UNISTD_H #include -#else -#include #endif #include -#ifndef VMS -#ifndef _IRIX +#ifdef HAVE_TIME_H #include #endif -#ifdef TIMES +#ifdef HAVE_SYS_TYPES_H #include +#endif +#ifdef HAVE_SYS_TIMES_H #include #endif -#else /* VMS */ + +#ifdef VMS #include struct tms { time_t tms_utime; @@ -76,12 +76,13 @@ struct tms { time_t tms_uchildsys; /* so these names are a guess :-) */ } #endif -#ifndef TIMES + +#ifdef HAVE_SYS_TIMEB_H #include #endif -#ifdef sun #include +#ifdef HAVE_SYS_PARAM_H #include #endif