blob: 7a4de89f5a5b5a3900cc215bce7434af37baa7f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -3890,6 +3890,7 @@ do_stat:
break;
#endif
+#if defined(__FreeBSD_version) && __FreeBSD_version > 900000
case TARGET_FREEBSD_NR_pdkill:
ret = get_errno(pdkill(arg1, target_to_host_signal(arg2)));
break;
@@ -3903,6 +3904,7 @@ do_stat:
goto efault;
}
break;
+#endif
case TARGET_FREEBSD_NR_sigaction:
{
@@ -4176,6 +4178,7 @@ do_stat:
break;
#endif
+#if defined(__FreeBSD_version) && __FreeBSD_version > 900000
case TARGET_FREEBSD_NR_posix_fallocate:
{
off_t offset = arg2, len = arg3;
@@ -4192,6 +4195,7 @@ do_stat:
ret = get_errno(posix_fallocate(arg1, offset, len));
}
break;
+#endif
#ifdef TARGET_FREEBSD_posix_openpt
case TARGET_FREEBSD_posix_openpt:
|