aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r--linux-user/strace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index a8baebceac..fca2f391d5 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -154,6 +154,7 @@ print_newselect(const struct syscallname *name,
}
#endif
+#ifdef TARGET_NR_semctl
static void
print_semctl(const struct syscallname *name,
abi_long arg1, abi_long arg2, abi_long arg3,
@@ -163,6 +164,7 @@ print_semctl(const struct syscallname *name,
print_ipc_cmd(arg3);
gemu_log(",0x" TARGET_ABI_FMT_lx ")", arg4);
}
+#endif
static void
print_execve(const struct syscallname *name,