diff options
Diffstat (limited to 'source3/smbwrapper/wrapped.c')
-rw-r--r-- | source3/smbwrapper/wrapped.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c index e87bd5f1f20..a6a73346936 100644 --- a/source3/smbwrapper/wrapped.c +++ b/source3/smbwrapper/wrapped.c @@ -628,7 +628,12 @@ #endif #ifdef HAVE_UTIMES +#if LINUX + /* glibc2 gets the prototype wrong */ + int utimes(const char *name,struct timeval tvp[2]) +#else int utimes(const char *name,const struct timeval tvp[2]) +#endif { if (smbw_path(name)) { return smbw_utimes(name, tvp); |