fix placement of config-host.h inclusion

The #ifdef CONFIG_SOLARIS below was useless without this patch.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Paolo Bonzini 2010-02-02 20:33:11 +01:00 committed by Anthony Liguori
parent 652ce2d449
commit f582af5865
1 changed files with 4 additions and 3 deletions

View File

@ -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)