aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 09:17:07 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 09:17:07 +0000
commit64944f9385cfd08d8ae0d3f238881a5224d181ef (patch)
tree74c3268049c0db53283e3bffd75a62154193c001 /configure
parentff641a64292d4a5b7090e68bfb315f92065e13fb (diff)
Fix tgetent call in termcap configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27286 b3059339-0415-0410-9bf9-f77b7e298cf2
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