diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2012-10-23 21:37:20 -0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-12-06 09:17:05 +0100 |
commit | 4d4922c339abf67e47c79068d343ed41a020b8e2 (patch) | |
tree | 298187bd2ac623ee28cabd60b60252cbacb9a1a9 /qga | |
parent | ccff63cac4f0d391187c9ee9aa2cab754df80c41 (diff) |
qga/channel-posix.c: Include headers it needs
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 <ehabkost@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qga')
-rw-r--r-- | qga/channel-posix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qga/channel-posix.c b/qga/channel-posix.c index d152827bcf..769a559456 100644 --- a/qga/channel-posix.c +++ b/qga/channel-posix.c @@ -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" |