aboutsummaryrefslogtreecommitdiff
path: root/util/compatfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/compatfd.c')
-rw-r--r--util/compatfd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/compatfd.c b/util/compatfd.c
index c296f55d14..ee47dd8089 100644
--- a/util/compatfd.c
+++ b/util/compatfd.c
@@ -16,7 +16,9 @@
#include "qemu/osdep.h"
#include "qemu/thread.h"
+#if defined(CONFIG_SIGNALFD)
#include <sys/syscall.h>
+#endif
struct sigfd_compat_info
{