Portability fixes.

diff --git a/configure b/configure
index 1dc0122..ae9c44e 100755
--- a/configure
+++ b/configure
@@ -10934,6 +10934,8 @@
 
 
 
+
+
 for ac_header in \
 	arpa/inet.h \
 	arpa/nameser.h \
@@ -10971,6 +10973,7 @@
 	sys/file.h \
 	sys/filio.h \
 	sys/inttypes.h \
+	sys/ioctl.h \
 	sys/ipc.h \
 	sys/link.h \
 	sys/lwp.h \
@@ -10997,6 +11000,7 @@
 	sys/vm86.h \
 	sys/wait.h \
 	syscall.h \
+	termios.h \
 	ucontext.h \
 	unistd.h \