The HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF.
authorWayne Davison <wayned@samba.org>
Fri, 2 Nov 2007 20:53:04 +0000 (20:53 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 2 Nov 2007 20:53:04 +0000 (20:53 +0000)
util.c

diff --git a/util.c b/util.c
index 98b94e0..75b6e3f 100644 (file)
--- a/util.c
+++ b/util.c
@@ -152,7 +152,7 @@ int set_modtime(const char *fname, time_t modtime, mode_t mode)
                }
 # endif
                return utimes(fname, t);
                }
 # endif
                return utimes(fname, t);
-#elif defined HAVE_UTIMBUF
+#elif defined HAVE_STRUCT_UTIMBUF
                struct utimbuf tbuf;
                tbuf.actime = time(NULL);
                tbuf.modtime = modtime;
                struct utimbuf tbuf;
                tbuf.actime = time(NULL);
                tbuf.modtime = modtime;