diff options
author | Igor Mitsyanko <i.mitsyanko@gmail.com> | 2013-05-10 23:58:21 +0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-05-12 13:25:55 +0400 |
commit | 98b2d199c109c9eabebb70965db0ae24f3f75a79 (patch) | |
tree | 1225f517fd779b64f827082bf3609f01b5b0ad89 | |
parent | c7e775e4dda91472ec538101c536ea8950fe1515 (diff) |
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>
-rw-r--r-- | include/qemu/osdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 42545bcbdb..3bcd4ab7cd 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 |