Ugly patch for this issue in QEMU with ubuntu 19.10
MODIFY
qemu_mode/patches/syscall.diff
qemu_mode/patches/syscall.diff
@@ -2,9 +2,10 @@ diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 280137da..8c0e749f 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -112,6 +112,8 @@
+@@ -112,6 +112,9 @@
#include "qemu.h"
#include "fd-trans.h"
++#include <linux/sockios.h>
+extern unsigned int afl_forksrv_pid;
+

Ugly patch for this issue https://lists.sr.ht/~philmd/qemu/patches/6224#%3C20190617114005.24603-1-berrange@redhat.com%3E+linux-user/syscall.c in QEMU with ubuntu 19.10