diff -r 1463985435ba tools/libxl/libxl_aoutils.c --- a/tools/libxl/libxl_aoutils.c Wed May 16 17:17:17 2012 +0200 +++ b/tools/libxl/libxl_aoutils.c Wed May 16 17:47:51 2012 +0200 @@ -230,8 +230,8 @@ static void openpty_exited(libxl__egc *e } int libxl__openptys(libxl__openpty_state *op, - const struct termios *termp, - const struct winsize *winp) { + struct termios *termp, + struct winsize *winp) { /* * This is completely crazy. openpty calls grantpt which the spec * says may fork, and may not be called with a SIGCHLD handler. diff -r 1463985435ba tools/libxl/libxl_internal.h --- a/tools/libxl/libxl_internal.h Wed May 16 17:17:17 2012 +0200 +++ b/tools/libxl/libxl_internal.h Wed May 16 17:47:51 2012 +0200 @@ -1739,8 +1739,8 @@ struct libxl__openpty_result { }; int libxl__openptys(libxl__openpty_state *op, - const struct termios *termp, - const struct winsize *winp); + struct termios *termp, + struct winsize *winp); /*----- bootloader -----*/