diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-01-07 17:29:55 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-01-11 09:33:41 +0100 |
commit | 1d57db193f2eb619ccc9a60e76120379b757d9f2 (patch) | |
tree | 2a6613ccff94771873445ab0487d5dbd9d3f97cc /qga/channel-posix.c | |
parent | 75f13596452692fb7375ee558e9fb37cd649e603 (diff) |
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 <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qga/channel-posix.c')
-rw-r--r-- | qga/channel-posix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qga/channel-posix.c b/qga/channel-posix.c index d4fd628907..ca9e4aaaf9 100644 --- a/qga/channel-posix.c +++ b/qga/channel-posix.c @@ -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" |