diff --git a/tools/console.h b/tools/console.h index 962594cfc27c4b076ea06ea0df2d80d0412ac28d..46255b82a646f4ce306d440fb2e64ddc3965b1c5 100644 --- a/tools/console.h +++ b/tools/console.h @@ -1,7 +1,7 @@ /* * console.c: A dumb serial console client * - * Copyright (C) 2007, 2010 Red Hat, Inc. + * Copyright (C) 2007, 2010, 2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -25,6 +25,8 @@ # ifndef WIN32 +# include + int vshRunConsole(virDomainPtr dom, const char *dev_name, const char *escape_seq, diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 1f7aff7a94728ad1c4172fba918fecf4c0e26605..96e62fcd447e0b1c9a23e708a935400f07b26906 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include diff --git a/tools/virsh.c b/tools/virsh.c index 322f7785b9d3f365bb68cf53432bb136eee0aac0..b4829a34df9def11c5622a704c3edd10c4f1afb3 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -42,7 +42,6 @@ #include #include #include -#include #include #include