]> Git Repo - qemu.git/commitdiff
qga/channel-posix.c: Explicitly include string.h
authorPeter Maydell <[email protected]>
Mon, 7 Jan 2013 17:29:55 +0000 (17:29 +0000)
committerStefan Hajnoczi <[email protected]>
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 <[email protected]>
Reviewed-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
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"
This page took 0.026377 seconds and 4 git commands to generate.