提交 f582af58 编写于 作者: P Paolo Bonzini 提交者: Anthony Liguori

fix placement of config-host.h inclusion

The #ifdef CONFIG_SOLARIS below was useless without this patch.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 652ce2d4
......@@ -28,14 +28,15 @@
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
/* Needed early for CONFIG_BSD etc. */
#include "config-host.h"
#ifdef CONFIG_SOLARIS
#include <sys/types.h>
#include <sys/statvfs.h>
#endif
/* Needed early for CONFIG_BSD etc. */
#include "config-host.h"
#ifdef _WIN32
#include <windows.h>
#elif defined(CONFIG_BSD)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册