From 5a8d1c4cd1e6499ec80ee4436baea76b80f76d12 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 7 Sep 2001 09:53:21 +0000 Subject: [PATCH] HAVE_SYS_UTIME_H adjustments --- src/config-win32.h | 4 ++-- src/config.h.in | 5 ++++- 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 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 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 c776e243f..4d24a82b7 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: */