summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlexandre Raymond <cerbere@gmail.com>2011-06-02 23:26:49 -0400
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-06-08 09:04:29 +0100
commit9bf0960a9adb93c38b879a2114f6c67e30427307 (patch)
treefed16ceea03ed1c9f29e55b1eaaaac81ac74d2aa /block
parent86f69a92b163dac5ee230c8a109c3e8f37f13d38 (diff)
Fix compilation warning due to missing header for sigaction (followup)
This patch removes all references to signal.h when qemu-common.h is included as they become redundant. Signed-off-by: Alexandre Raymond <cerbere@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'block')
-rw-r--r--block/raw-posix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6b7247059..9a72a1755 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -43,7 +43,6 @@
#ifdef __sun__
#define _POSIX_PTHREAD_SEMANTICS 1
-#include <signal.h>
#include <sys/dkio.h>
#endif
#ifdef __linux__
@@ -53,7 +52,6 @@
#include <linux/fd.h>
#endif
#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__)
-#include <signal.h>
#include <sys/disk.h>
#include <sys/cdio.h>
#endif