X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsystem.h;h=d82e8cd38e7dad94420110dc200823dd44caaa18;hb=0273b1ae0945ead45f96ae5b82700d793cd96639;hp=eaf88138432f2410fc632d45e16af695ce01e999;hpb=55a96565b5765034ca4d5b26ee0922f92357af2c;p=chaz%2Ftar diff --git a/src/system.h b/src/system.h index eaf8813..d82e8cd 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