From patchwork Fri Jan 11 09:18:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/6] qga/channel-posix.c: Explicitly include string.h Date: Thu, 10 Jan 2013 23:18:03 -0000 From: Stefan Hajnoczi X-Patchwork-Id: 211269 Message-Id: <1357895886-14283-4-git-send-email-stefanha@redhat.com> To: Cc: Peter Maydell , Anthony Liguori , Stefan Hajnoczi From: Peter Maydell 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(+) 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"