summaryrefslogtreecommitdiffstats
path: root/contrib/qemu/include/sysemu/os-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/qemu/include/sysemu/os-posix.h')
-rw-r--r--contrib/qemu/include/sysemu/os-posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/qemu/include/sysemu/os-posix.h b/contrib/qemu/include/sysemu/os-posix.h
index 25d0b2a73f6..ed8cbaff6a3 100644
--- a/contrib/qemu/include/sysemu/os-posix.h
+++ b/contrib/qemu/include/sysemu/os-posix.h
@@ -36,7 +36,7 @@ int os_mlock(void);
typedef struct timeval qemu_timeval;
#define qemu_gettimeofday(tp) gettimeofday(tp, NULL)
-#ifndef CONFIG_UTIMENSAT
+#if !defined(CONFIG_UTIMENSAT) || defined(__FreeBSD__)
#ifndef UTIME_NOW
# define UTIME_NOW ((1l << 30) - 1l)
#endif