Skip to content

Commit

Permalink
fix placement of config-host.h inclusion
Browse files Browse the repository at this point in the history
The #ifdef CONFIG_SOLARIS below was useless without this patch.

Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
  • Loading branch information
bonzini authored and Anthony Liguori committed Feb 10, 2010
1 parent 652ce2d commit f582af5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions osdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f582af5

Please sign in to comment.