--- configure.in 2003/01/20 14:03:49 1.1 +++ configure.in 2003/01/20 14:04:33 @@ -643,6 +643,10 @@ AC_EGREP_HEADER( changequote(<<, >>)<>changequote([, ]), +sys/stat.h, AC_DEFINE(HAVE_STAT_TIMESPEC_T)) + +AC_EGREP_HEADER( +changequote(<<, >>)<>changequote([, ]), sys/stat.h, AC_DEFINE(HAVE_STAT_TIMESPEC)) AC_EGREP_HEADER( --- src/libpcp/src/pmns.c 2003/01/20 14:04:39 1.1 +++ src/libpcp/src/pmns.c 2003/01/20 14:05:00 @@ -93,6 +93,8 @@ #if defined(HAVE_STAT_TIMESTRUC) static timestruc_t last_mtim; #elif defined(HAVE_STAT_TIMESPEC) +static struct timespec last_mtim; +#elif defined(HAVE_STAT_TIMESPEC_T) static timespec_t last_mtim; #elif defined(HAVE_STAT_TIME_T) static time_t last_mtim; --- src/pmcd/src/config.c 2003/01/20 14:09:33 1.1 +++ src/pmcd/src/config.c 2003/01/20 14:10:10 @@ -100,6 +100,8 @@ /* Config file modification time */ #if defined(HAVE_STAT_TIMESTRUC) static timestruc_t configFileTime; #elif defined(HAVE_STAT_TIMESPEC) +static struct timespec configFileTime; +#elif defined(HAVE_STAT_TIMESPEC_T) static timespec_t configFileTime; #elif defined(HAVE_STAT_TIME_T)