summaryrefslogtreecommitdiffstats
path: root/bsd-user/syscall_defs.h
diff options
context:
space:
mode:
authorWarner Losh2022-01-09 05:05:20 +0100
committerWarner Losh2022-01-28 23:53:41 +0100
commit377145478339917491a850643bb920548907d956 (patch)
tree9980c1848726f4d1781a954b8d58c7a31eca3266 /bsd-user/syscall_defs.h
parentbsd-user/strace.c: print_taken_signal (diff)
downloadqemu-377145478339917491a850643bb920548907d956.tar.gz
qemu-377145478339917491a850643bb920548907d956.tar.xz
qemu-377145478339917491a850643bb920548907d956.zip
bsd-user/signal.c: Implement dump_core_and_abort
Force delivering a signal and generating a core file. It's a global function for the moment... Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Kyle Evans <kevans@freebsd.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/syscall_defs.h')
-rw-r--r--bsd-user/syscall_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 04a1a886d7..62b472b990 100644
--- a/bsd-user/syscall_defs.h
+++ b/bsd-user/syscall_defs.h
@@ -21,6 +21,7 @@
#define _SYSCALL_DEFS_H_
#include <sys/syscall.h>
+#include <sys/resource.h>
#include "errno_defs.h"