aboutsummaryrefslogtreecommitdiff
path: root/compatfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'compatfd.h')
-rw-r--r--compatfd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/compatfd.h b/compatfd.h
index e7db2a1093..55a111a572 100644
--- a/compatfd.h
+++ b/compatfd.h
@@ -16,14 +16,10 @@
#include <signal.h>
-#if defined(__linux__) && !defined(SYS_signalfd)
-struct signalfd_siginfo {
+struct qemu_signalfd_siginfo {
uint32_t ssi_signo;
uint8_t pad[124];
};
-#else
-#include <linux/signalfd.h>
-#endif
int qemu_signalfd(const sigset_t *mask);