summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 01774c5443..11c0f03667 100755
--- a/configure
+++ b/configure
@@ -3285,8 +3285,9 @@ fi #if sunos
echocheck "termcap"
if test "$_termcap" = auto ; then
cat > $TMPC <<EOF
+#include <stddef.h>
#include <term.h>
-int main(void) { tgetent(); return 0; }
+int main(void) { tgetent(NULL, NULL); return 0; }
EOF
_termcap=no
for _ld_tmp in "-lncurses" "-ltinfo" "-ltermcap"; do