aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_bsd.h
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-09-20 17:29:31 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-09-22 15:40:02 +0200
commit041a868956e51efc0dace9e3dff874332a8cdccc (patch)
treef1e4e48646c8cf6d23e60fd04452b689652ea0e8 /executor/common_bsd.h
parent9e4e4272d3f686e750a13d2111b0fb7041db2f4a (diff)
executor: add missing includes to BSD's setup_fault
Diffstat (limited to 'executor/common_bsd.h')
-rw-r--r--executor/common_bsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h
index d250c5f29..d5030d482 100644
--- a/executor/common_bsd.h
+++ b/executor/common_bsd.h
@@ -43,6 +43,7 @@ static void setup_usb(void)
#if SYZ_EXECUTOR || SYZ_FAULT
#include <fcntl.h>
#include <sys/fault.h>
+#include <sys/stat.h>
static void setup_fault(void)
{
if (chmod("/dev/fault", 0666))