summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/extra-patch-bsd-user-freebsd-os-sys.c
blob: a9f01f34a38c7894022e7713da8648dcb3d7dfb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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;
 }