changeset 27251:93503c403d56

Add missing headers to configure checks.
author diego
date Tue, 15 Jul 2008 08:18:08 +0000
parents dcf62171257b
children 7b5f08e81373
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Jul 15 00:21:32 2008 +0000
+++ b/configure	Tue Jul 15 08:18:08 2008 +0000
@@ -1573,6 +1573,7 @@
     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 @@
 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 @@
 if test "$_fontconfig" = auto ; then
         cat > $TMPC << EOF
 #include <stdio.h>
+#include <stdlib.h>
 #include <fontconfig/fontconfig.h>
 int main(void) {
     int err = FcInit();