diff options
Diffstat (limited to 'xenscreen.c')
-rw-r--r-- | xenscreen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xenscreen.c b/xenscreen.c index 8cbe178..1e783f9 100644 --- a/xenscreen.c +++ b/xenscreen.c @@ -5,6 +5,7 @@ #include <unistd.h> #include <signal.h> #include <time.h> +#include <errno.h> #include <sys/utsname.h> #ifdef HAVE_LIBVIRT @@ -434,11 +435,11 @@ int main(int argc, char *argv[]) unsigned int rc, i; time_t last_ctrl_c = 0; char **nav; + struct timeval tv; #ifdef HAVE_LIBVIRT char *vir_url = getenv("VIRSH_DEFAULT_CONNECT_URI"); virConnectPtr vir_conn = NULL; - struct timeval tv; #else void *vir_conn = NULL; #endif |