From: Peter Maydell Date: Mon, 7 Jan 2013 17:29:55 +0000 (+0000) Subject: qga/channel-posix.c: Explicitly include string.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1d57db193f2eb619ccc9a60e76120379b757d9f2;p=qemu.git qga/channel-posix.c: Explicitly include string.h Explicitly include string.h to avoid warnings under MacOS X/clang about implicit declarations of strerror() and strlen(). Signed-off-by: Peter Maydell Reviewed-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- diff --git a/qga/channel-posix.c b/qga/channel-posix.c index d4fd628907..ca9e4aaaf9 100644 --- a/qga/channel-posix.c +++ b/qga/channel-posix.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "qemu/osdep.h" #include "qemu/sockets.h" #include "qga/channel.h"