]> Git Repo - qemu.git/commitdiff
qga/channel-posix.c: Include headers it needs
authorEduardo Habkost <[email protected]>
Tue, 23 Oct 2012 23:37:20 +0000 (21:37 -0200)
committerAndreas Färber <[email protected]>
Thu, 6 Dec 2012 08:17:05 +0000 (09:17 +0100)
Include:
 - <errno.h> for errno
 - <unistd.h> & <fcntl.h> for fcntl()
 - <stdlib.h> for exit()
 - "osdep.h" for qemu_open()

Some of those headers were probably being included by accident because
some other headers were including qemu-common.h, but those headers
should eventually stop including qemu-common.h.

Signed-off-by: Eduardo Habkost <[email protected]>
Signed-off-by: Igor Mammedov <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
qga/channel-posix.c

index d152827bcfb28a45c14543195d77d02a98275338..769a559456faab5c5d7e5c895c355dcc9bc139a5 100644 (file)
@@ -1,5 +1,10 @@
 #include <glib.h>
 #include <termios.h>
+#include <errno.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <stdlib.h>
+#include "osdep.h"
 #include "qemu_socket.h"
 #include "qga/channel.h"
 
This page took 0.025199 seconds and 4 git commands to generate.