From 1d57db193f2eb619ccc9a60e76120379b757d9f2 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 7 Jan 2013 17:29:55 +0000 Subject: 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 --- qga/channel-posix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'qga') diff --git a/qga/channel-posix.c b/qga/channel-posix.c index d4fd628..ca9e4aa 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" -- cgit v1.1