aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 08:18:08 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 08:18:08 +0000
commit39456b850ade4b779b4111ac6d833d6031b79b47 (patch)
treee795c80d67b765d9bee8ca23dc15f1c011138045
parent0589f4723951f891c9d7e47dd9e10bfaf6e16f4e (diff)
Add missing headers to configure checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27283 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 3a27e201e9..43b1f03439 100755
--- a/configure
+++ b/configure
@@ -1573,6 +1573,7 @@ if x86 && test "$_runtime_cpudetection" = no ; then
if test "$1" = kernel_check ; then
echocheck "kernel support of $2"
cat > $TMPC <<EOF
+#include <stdlib.h>
#include <signal.h>
void catch() { exit(1); }
int main(void) {
@@ -3283,6 +3284,7 @@ fi #if sunos
echocheck "termcap"
if test "$_termcap" = auto ; then
cat > $TMPC <<EOF
+#include <term.h>
int main(void) { tgetent(); return 0; }
EOF
_termcap=no
@@ -5586,6 +5588,7 @@ echocheck "fontconfig"
if test "$_fontconfig" = auto ; then
cat > $TMPC << EOF
#include <stdio.h>
+#include <stdlib.h>
#include <fontconfig/fontconfig.h>
int main(void) {
int err = FcInit();