diff --git a/libs/port/futimes.c b/libs/port/futimes.c index 7892199be37..f842d67b551 100644 --- a/libs/port/futimes.c +++ b/libs/port/futimes.c @@ -24,8 +24,12 @@ #ifndef HAVE_FUTIMES #include -#include -#include +#ifdef HAVE_SYS_TIME_H +# include +#endif +#ifdef HAVE_UTIME_H +# include +#endif #include #include