diff --git a/src/system.h b/src/system.h index eaf88138..d82e8cd3 100644 --- a/src/system.h +++ b/src/system.h @@ -476,8 +476,10 @@ char *getenv (); #endif #include -#include -#ifndef time +#if defined(HAVE_SYS_TIME_H) && defined(TIME_WITH_SYS_TIME) +# include +#endif +#if ! HAVE_DECL_TIME time_t time (); #endif