[xbuild] Microsoft.Common.targets - import Before/After targets files.
[mono.git] / support / sys-time.c
index fdb8b63cd6ab5a6b61d8497fe0eb8acbc9866d98..1759ec0fcb8e23f2435d8cb45d0e846a53b9edcb 100644 (file)
@@ -124,6 +124,7 @@ Mono_Posix_Syscall_lutimes(const char *filename, struct Mono_Posix_Timeval *tv)
 }
 #endif /* def HAVE_LUTIMES */
 
+#if HAVE_FUTIMES
 gint32
 Mono_Posix_Syscall_futimes(int fd, struct Mono_Posix_Timeval *tv)
 {
@@ -134,6 +135,7 @@ Mono_Posix_Syscall_futimes(int fd, struct Mono_Posix_Timeval *tv)
 
        return futimes (fd, ptv);
 }
+#endif  /* def HAVE_FUTIMES */
 
 G_END_DECLS