Commit da3d9c5b4683efa5bc106e2abcf181e8b187741f
1 parent
d84763bc
Fix the build on non-Linux systems
It turns out, we're never reading from the signalfd() which is causing it to remain readable forever. I'll fix this up but I thought I'd commit this fix in the interim. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5194 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
5 deletions
compatfd.h
| ... | ... | @@ -16,14 +16,10 @@ |
| 16 | 16 | |
| 17 | 17 | #include <signal.h> |
| 18 | 18 | |
| 19 | -#if defined(__linux__) && !defined(SYS_signalfd) | |
| 20 | -struct signalfd_siginfo { | |
| 19 | +struct qemu_signalfd_siginfo { | |
| 21 | 20 | uint32_t ssi_signo; |
| 22 | 21 | uint8_t pad[124]; |
| 23 | 22 | }; |
| 24 | -#else | |
| 25 | -#include <linux/signalfd.h> | |
| 26 | -#endif | |
| 27 | 23 | |
| 28 | 24 | int qemu_signalfd(const sigset_t *mask); |
| 29 | 25 | ... | ... |