[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/6] Fix compilation warning due to missing header f
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 1/6] Fix compilation warning due to missing header for sigaction |
Date: |
Wed, 8 Jun 2011 09:24:43 +0100 |
From: Alexandre Raymond <address@hidden>
Fix the following warning by including signal.h directly in qemu-common.h
----8<----
iohandler.c: In function ‘qemu_init_child_watch’:
iohandler.c:172: warning: implicit declaration of function ‘sigaction’
iohandler.c:172: warning: nested extern declaration of ‘sigaction’
----8<----
Signed-off-by: Alexandre Raymond <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
qemu-common.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu-common.h b/qemu-common.h
index b851b20..39fabc9 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -39,6 +39,7 @@ typedef struct Monitor Monitor;
#include <sys/stat.h>
#include <sys/time.h>
#include <assert.h>
+#include <signal.h>
#ifdef _WIN32
#include "qemu-os-win32.h"
--
1.7.4.4
- [Qemu-devel] [PULL 0/6] Trivial patches for May 30 to June 8 2011, Stefan Hajnoczi, 2011/06/08
- [Qemu-devel] [PATCH 1/6] Fix compilation warning due to missing header for sigaction,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 6/6] virtio: Move virtio-pci to hw library, Stefan Hajnoczi, 2011/06/08
- [Qemu-devel] [PATCH 4/6] m68k: Replace gen_im32() by tcg_const_i32(), Stefan Hajnoczi, 2011/06/08
- [Qemu-devel] [PATCH 5/6] target-i386: Make x86 mfence and lfence illegal without SSE2, Stefan Hajnoczi, 2011/06/08
- [Qemu-devel] [PATCH 3/6] slirp: fix guestfwd id, Stefan Hajnoczi, 2011/06/08
- [Qemu-devel] [PATCH 2/6] Fix compilation warning due to missing header for sigaction (followup), Stefan Hajnoczi, 2011/06/08
- Re: [Qemu-devel] [PULL 0/6] Trivial patches for May 30 to June 8 2011, Anthony Liguori, 2011/06/09