patch-util_qemu-openpty_c 335 B

1234567891011
  1. --- qemu-1.7.0.orig/util/qemu-openpty.c 2013-11-27 23:15:55.000000000 +0100
  2. +++ qemu-1.7.0/util/qemu-openpty.c 2014-03-14 09:05:17.280258135 +0100
  3. @@ -35,7 +35,7 @@
  4. #include "config-host.h"
  5. #include "qemu-common.h"
  6. -#if defined(__GLIBC__)
  7. +#if defined(__linux__)
  8. # include <pty.h>
  9. #elif defined CONFIG_BSD
  10. # include <termios.h>