diff options
-rw-r--r-- | src/config-win32.h | 4 | ||||
-rw-r--r-- | src/config.h.in | 5 | ||||
-rw-r--r-- | src/main.c | 6 |
3 files changed, 11 insertions, 4 deletions
diff --git a/src/config-win32.h b/src/config-win32.h index ccce28b6c..562b60590 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 <sys/utime.h> 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 cfd34fd12..31825bf65 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 <utime.h> header file */ #undef HAVE_UTIME_H + +/* Define if you have thhe <sys/utime.h> header file */ +#undef HAVE_SYS_UTIME_H diff --git a/src/main.c b/src/main.c index c776e243f..4d24a82b7 100644 --- a/src/main.c +++ b/src/main.c @@ -61,7 +61,11 @@ #endif #ifdef HAVE_UTIME_H -#include <utime.h> + #include <utime.h> +#else + #ifdef HAVE_SYS_UTIME_H + #include <sys/utime.h> + #endif #endif /* The last #include file should be: */ |