--- /dev/null
+diff -u -r ../vim-8.0.0675/src/auto/configure ./src/auto/configure
+--- ../vim-8.0.0675/src/auto/configure 2017-06-25 16:03:37.000000000 +0000
++++ ./src/auto/configure 2017-07-07 12:34:53.459850309 +0000
+@@ -11426,6 +11426,7 @@
+ $as_echo_n "checking for tgetent()... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++#include <termcap.h>
+
+ int
+ main ()
--- /dev/null
+diff -u -r ../vim-8.0.0675/src/auto/configure ./src/auto/configure
+--- ../vim-8.0.0675/src/auto/configure 2017-06-25 16:03:37.000000000 +0000
++++ ./src/auto/configure 2017-07-07 12:34:53.459850309 +0000
+@@ -11426,6 +11426,7 @@
+ $as_echo_n "checking for tgetent()... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++#include <termcap.h>
+
+ int
+ main ()