diff --git a/src/config-win32.h b/src/config-win32.h index ccce28b6ced517ab5115e9bd93e93e52602f6638..562b60590b34cb6924286d4029fb6c3d68c923f1 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -17,8 +17,8 @@ /* Define if you have utime() */ #define HAVE_UTIME 1 -/* Define if you have utime.h */ -#define HAVE_UTIME_H 1 +/* Define if you have the header file */ +#define HAVE_SYS_UTIME_H 1 /************************************************* * This section is for compiler specific defines.* diff --git a/src/config.h.in b/src/config.h.in index cfd34fd128f8f7c16838ff9fc2bb5ec2ef127cc7..31825bf65f078caf5e2f559ed26a649e350c8444 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -14,5 +14,8 @@ /* Define if you have utime() */ #undef HAVE_UTIME -/* Define if you have utime.h */ +/* Define if you have the header file */ #undef HAVE_UTIME_H + +/* Define if you have thhe header file */ +#undef HAVE_SYS_UTIME_H diff --git a/src/main.c b/src/main.c index c776e243f4b50e170a070bfb146db586d3bd41e5..4d24a82b7e1df9abfc5f7e456d7706a6007c72bc 100644 --- a/src/main.c +++ b/src/main.c @@ -61,7 +61,11 @@ #endif #ifdef HAVE_UTIME_H -#include + #include +#else + #ifdef HAVE_SYS_UTIME_H + #include + #endif #endif /* The last #include file should be: */