提交 5a61cb60 编写于 作者: S Stefan Weil 提交者: Stefan Hajnoczi

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: NKevin Wolf <kwolf@redhat.com>
Signed-off-by: NStefan Weil <weil@mail.berlios.de>
Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
上级 069d89b8
......@@ -11,7 +11,7 @@
*
*/
#include <qemu-common.h>
#include "qemu-common.h"
#include "qemu-error.h"
#include "trace.h"
#include "blockdev.h"
......
......@@ -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 | \
......
......@@ -21,7 +21,7 @@
#include <sys/types.h>
#include <qemu-common.h>
#include "qemu-common.h"
#include "block_int.h"
......
......@@ -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"
......
#ifndef _LIBSLIRP_H
#define _LIBSLIRP_H
#include <qemu-common.h>
#include "qemu-common.h"
#ifdef CONFIG_SLIRP
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册