summaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-02-17 04:23:13 -0200
committerMarcelo Tosatti <mtosatti@redhat.com>2010-02-17 04:23:13 -0200
commitb09db58b5f8d6fe94929655de8f072468f142dba (patch)
tree70279bf2044d74e97d9a39377e6402ab0fb4eda8 /osdep.c
parent7acb0371154e7f8999175a4e432bedfc88d2999c (diff)
parent4a7e1190dfadf1154721125af8510347f8a3c56b (diff)
Merge commit '4a7e1190dfadf1154721125af8510347f8a3c56b' into upstream-merge
* commit '4a7e1190dfadf1154721125af8510347f8a3c56b': (32 commits) QMP: Introduce the qmp_capabilities command QMP: Add QEMU's version to the greeting message segfault due to buffer overrun in usb-serial audio streaming from usb devices vnc: Migrate to using QTAILQ instead of custom implementation kvm: reduce code duplication in config_iothread Documentation: Add command line options to function index Documentation: Add monitor commands to function index Documentation: Enhance documentation (index, keywords) Documentation: Fix item list Documentation: Add some basic documentation on make targets Documentation: Use UTF-8 encoding and fix one wrong encoding Documentation: Add direntry for info format block: saner flags filtering in bdrv_open2 virtio-blk: Generate BLOCK_IO_ERROR QMP event scsi: Generate BLOCK_IO_ERROR QMP event ide: Generate BLOCK_IO_ERROR QMP event block: BLOCK_IO_ERROR QMP event QMP: BLOCK_IO_ERROR event handling qcow2: Fix signedness bugs ... Conflicts: qemu-monitor.hx Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'osdep.c')
-rw-r--r--osdep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/osdep.c b/osdep.c
index e613e4b2f..616e82108 100644
--- a/osdep.c
+++ b/osdep.c
@@ -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)