summaryrefslogtreecommitdiffstats
path: root/include/qemu/osdep.h
diff options
context:
space:
mode:
authorIgor Mitsyanko <i.mitsyanko@gmail.com>2013-05-10 23:58:21 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2013-05-12 13:25:55 +0400
commit98b2d199c109c9eabebb70965db0ae24f3f75a79 (patch)
tree1225f517fd779b64f827082bf3609f01b5b0ad89 /include/qemu/osdep.h
parentc7e775e4dda91472ec538101c536ea8950fe1515 (diff)
downloadhqemu-98b2d199c109c9eabebb70965db0ae24f3f75a79.zip
hqemu-98b2d199c109c9eabebb70965db0ae24f3f75a79.tar.gz
osdep.h: include sys/types.h for ssize_t definition
sys/types.h is taken out from "ifdef __OpenBSD__" guard. It should be safe for other systems, according to following survey: http://hacks.owlfolio.org/header-survey/ This fixes build for CONFIG_IOVEC-less systems (mingw). Signed-off-by: Igor Mitsyanko <i.mitsyanko@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/qemu/osdep.h')
-rw-r--r--include/qemu/osdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 42545bc..3bcd4ab 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -5,8 +5,8 @@
#include <stdarg.h>
#include <stddef.h>
#include <stdbool.h>
-#ifdef __OpenBSD__
#include <sys/types.h>
+#ifdef __OpenBSD__
#include <sys/signal.h>
#endif
OpenPOWER on IntegriCloud