projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f1359
)
qga/channel-posix.c: Explicitly include string.h
author
Peter Maydell
<peter.maydell@linaro.org>
Mon, 7 Jan 2013 17:29:55 +0000
(17:29 +0000)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/qga/channel-posix.c
b/qga/channel-posix.c
index d4fd628907ce2e050b2ea9d4e1b51ffef27c855d..ca9e4aaaf99de08221449014573196d1cceb7cca 100644
(file)
--- 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"