qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5194] Fix the build on non-Linux systems
@ 2008-09-11 14:18 Anthony Liguori
       [not found] ` <97371528-A47E-441F-87C7-66A30BAC42E0@hotmail.com>
  0 siblings, 1 reply; 10+ messages in thread
From: Anthony Liguori @ 2008-09-11 14:18 UTC (permalink / raw)
  To: qemu-devel

Revision: 5194
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5194
Author:   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 <aliguori@us.ibm.com>

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);
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-09-11 18:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 14:18 [Qemu-devel] [5194] Fix the build on non-Linux systems Anthony Liguori
     [not found] ` <97371528-A47E-441F-87C7-66A30BAC42E0@hotmail.com>
2008-09-11 15:26   ` C.W. Betts
2008-09-11 16:06     ` Blue Swirl
2008-09-11 16:15       ` Anthony Liguori
2008-09-11 16:57         ` Blue Swirl
2008-09-11 16:20       ` Anthony Liguori
2008-09-11 17:06         ` Blue Swirl
     [not found]     ` <F63B4C90-4303-4A11-BF72-BF36682000FD@hotmail.com>
2008-09-11 16:33       ` C.W. Betts
     [not found]         ` <9E6E4065-F682-414C-AB68-A565A5BF2B07@hotmail.com>
2008-09-11 17:10           ` C.W. Betts
2008-09-11 18:17             ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).