Index: hacks/apple2-main.c
--- hacks/apple2-main.c.orig	2004-05-26 11:36:06.000000000 +0200
+++ hacks/apple2-main.c	2004-05-26 11:36:44.000000000 +0200
@@ -30,6 +30,7 @@
 # ifdef HAVE_UTIL_H
 #  include <util.h>
 # endif
+# include <termios.h>
 #endif /* HAVE_FORKPTY */
 
 #undef countof
Index: hacks/phosphor.c
--- hacks/phosphor.c.orig	2004-05-26 11:36:59.000000000 +0200
+++ hacks/phosphor.c	2004-05-26 11:37:12.000000000 +0200
@@ -33,6 +33,7 @@
 # ifdef HAVE_UTIL_H
 #  include <util.h>
 # endif
+# include <termios.h>
 #endif /* HAVE_FORKPTY */
 
 extern XtAppContext app;
Index: configure
--- configure.orig	2005-05-01 13:24:21.254970328 +0200
+++ configure	2005-05-01 13:24:22.631761024 +0200
@@ -14474,7 +14474,6 @@
   pkg_check_version          libxml-2.0  2.4.6
   pkg_check_version        libglade-2.0  1.99.0
   pkg_check_version      gdk-pixbuf-2.0  2.0.0
-  pkg_check_version gdk-pixbuf-xlib-2.0  2.0.0
   have_gtk="$ok"
 
   if test "$have_gtk" = no; then
@@ -16774,7 +16773,6 @@
   ok="yes"
 
   pkg_check_version gdk-pixbuf-2.0      2.0.0
-  pkg_check_version gdk-pixbuf-xlib-2.0 2.0.0
   have_gdk_pixbuf="$ok"
 
   if test "$have_gdk_pixbuf" = yes; then
