freebsd-ports/emulators/qemu-devel/files/extra-patch-bsd-user-freebsd-os-sys.c
Juergen Lock e45c9fdb5c Fix build on 8 and 9.
Submitted by:	beefy1 via pkg-fallout
2014-07-10 16:44:22 +00:00

13 lines
319 B
C

--- a/bsd-user/freebsd/os-sys.c
+++ b/bsd-user/freebsd/os-sys.c
@@ -75,8 +75,10 @@ host_to_target_vfc_flags(int flags)
ret |= TARGET_VFCF_JAIL;
if (flags & VFCF_DELEGADMIN)
ret |= TARGET_VFCF_DELEGADMIN;
+#ifdef VFCF_SBDRY
if (flags & VFCF_SBDRY)
ret |= TARGET_VFCF_SBDRY;
+#endif
return ret;
}