]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
HAVE_SYS_UTIME_H adjustments
authorDaniel Stenberg <daniel@haxx.se>
Fri, 7 Sep 2001 09:53:21 +0000 (09:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 Sep 2001 09:53:21 +0000 (09:53 +0000)
src/config-win32.h
src/config.h.in
src/main.c

index ccce28b6ced517ab5115e9bd93e93e52602f6638..562b60590b34cb6924286d4029fb6c3d68c923f1 100644 (file)
@@ -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.*
index cfd34fd128f8f7c16838ff9fc2bb5ec2ef127cc7..31825bf65f078caf5e2f559ed26a649e350c8444 100644 (file)
@@ -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
index c776e243f4b50e170a070bfb146db586d3bd41e5..4d24a82b7e1df9abfc5f7e456d7706a6007c72bc 100644 (file)
 #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: */