From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsGWj-0006cd-IH for qemu-devel@nongnu.org; Mon, 07 Jan 2013 12:30:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsGWV-0003AW-Q5 for qemu-devel@nongnu.org; Mon, 07 Jan 2013 12:30:21 -0500 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:54941 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsGWV-0002rf-GE for qemu-devel@nongnu.org; Mon, 07 Jan 2013 12:30:07 -0500 From: Peter Maydell Date: Mon, 7 Jan 2013 17:29:55 +0000 Message-Id: <1357579795-11770-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH] qga/channel-posix.c: Explicitly include string.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, patches@linaro.org Explicitly include string.h to avoid warnings under MacOS X/clang about implicit declarations of strerror() and strlen(). Signed-off-by: Peter Maydell --- I assume under Linux these are implicitly dragged in via one of the other headers. 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" -- 1.7.11.4