Fix include statements for qemu-common.h

* qemu-common.h is not a system include file, so it should be included
  with "" instead of <>. Otherwise incremental builds might fail
  because only local include files are checked for changes.

* linux-user/syscall.c included the file twice.

Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Stefan Weil 2011-09-08 17:55:32 +02:00 committed by Stefan Hajnoczi
parent 069d89b8a8
commit 5a61cb60d6
5 changed files with 5 additions and 6 deletions

View File

@ -11,7 +11,7 @@
*
*/
#include <qemu-common.h>
#include "qemu-common.h"
#include "qemu-error.h"
#include "trace.h"
#include "blockdev.h"

View File

@ -60,7 +60,7 @@ int __clone2(int (*fn)(void *), void *child_stack_base,
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <linux/wireless.h>
#include <qemu-common.h>
#include "qemu-common.h"
#ifdef TARGET_GPROF
#include <sys/gmon.h>
#endif
@ -96,7 +96,6 @@ int __clone2(int (*fn)(void *), void *child_stack_base,
#include "cpu-uname.h"
#include "qemu.h"
#include "qemu-common.h"
#if defined(CONFIG_USE_NPTL)
#define CLONE_NPTL_FLAGS2 (CLONE_SETTLS | \

2
nbd.h
View File

@ -21,7 +21,7 @@
#include <sys/types.h>
#include <qemu-common.h>
#include "qemu-common.h"
#include "block_int.h"

View File

@ -16,7 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include <qemu-common.h>
#include "qemu-common.h"
#include "block_int.h"
#include "nbd.h"

View File

@ -1,7 +1,7 @@
#ifndef _LIBSLIRP_H
#define _LIBSLIRP_H
#include <qemu-common.h>
#include "qemu-common.h"
#ifdef CONFIG_SLIRP