diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-02-02 20:33:11 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-10 11:56:56 -0600 |
commit | f582af586587363973d95245b468c2968e320d00 (patch) | |
tree | 89a338a1e761e64f54548ab227b4492b2e9eba9a | |
parent | 652ce2d449f47cdc4d94eb67f2377504c06957ad (diff) |
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>
-rw-r--r-- | osdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) |