Revision: 5194
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5194Author: aliguori
Date: 2008-09-11 14:18:56 +0000 (Thu, 11 Sep 2008)
Log Message:
-----------
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 <
address@hidden>
Modified Paths:
--------------
trunk/compatfd.h
Modified: trunk/compatfd.h
===================================================================
--- trunk/compatfd.h
2008-09-10 20:09:22 UTC (rev 5193)
+++ trunk/compatfd.h
2008-09-11 14:18:56 UTC (rev 5194)
@@ -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);