diff -r -u ../gdbm-1.10.90/src/gdbmtool.c ./src/gdbmtool.c
--- ../gdbm-1.10.90/src/gdbmtool.c	2013-05-16 22:22:16.000000000 +0200
+++ ./src/gdbmtool.c	2014-02-04 03:38:54.000000000 +0100
@@ -24,9 +24,7 @@
 #include <signal.h>
 #include <pwd.h>
 #include <sys/ioctl.h>
-#ifdef HAVE_SYS_TERMIOS_H
-# include <sys/termios.h>
-#endif
+#include <termios.h>
 #include <stdarg.h>
 #ifdef HAVE_LOCALE_H
 # include <locale.h>
