]> git.proxmox.com Git - qemu.git/commitdiff
qga/channel-posix.c: Explicitly include string.h
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Jan 2013 17:29:55 +0000 (17:29 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 11 Jan 2013 08:33:41 +0000 (09:33 +0100)
Explicitly include string.h to avoid warnings under MacOS X/clang
about implicit declarations of strerror() and strlen().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qga/channel-posix.c

index d4fd628907ce2e050b2ea9d4e1b51ffef27c855d..ca9e4aaaf99de08221449014573196d1cceb7cca 100644 (file)
@@ -4,6 +4,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <stdlib.h>
+#include <string.h>
 #include "qemu/osdep.h"
 #include "qemu/sockets.h"
 #include "qga/channel.h"