pike.git / src / modules / _Stdio / configure.in

version» Context lines:

pike.git/src/modules/_Stdio/configure.in:380:   # define _LARGEFILE64_SOURCE 1   #endif   /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */      #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/types.h>   #ifdef HAVE_SYS_XATTR_H   #include <sys/xattr.h>   #endif    ], [    exit(0);       /* NOT REACHED */    getxattr(0, 0, 0, 0, 0, 0);    ], [
pike.git/src/modules/_Stdio/configure.in:404:   # define _LARGEFILE64_SOURCE 1   #endif   /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */      #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/types.h>   #ifdef HAVE_SYS_XATTR_H   #include <sys/xattr.h>   #endif    ], [    exit(0);       /* NOT REACHED */    getxattr(0, 0, 0, 0);    ], [
pike.git/src/modules/_Stdio/configure.in:454:   /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */      /* For _REENTRANT */   #include "../../machine.h"   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/types.h>   #ifdef HAVE_DIRENT_H   #include <dirent.h>   #else   #ifdef HAVE_SYS_NDIR_H   #include <sys/ndir.h>   #endif   #ifdef HAVE_SYS_DIR_H   #include <sys/dir.h>   #endif
pike.git/src/modules/_Stdio/configure.in:505:   /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */      /* For _REENTRANT */   #include "../../machine.h"   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/errno.h>   #ifdef HAVE_DIRENT_H   #include <dirent.h>   #else   #ifdef HAVE_SYS_NDIR_H   #include <sys/ndir.h>   #endif   #ifdef HAVE_SYS_DIR_H   #include <sys/dir.h>   #endif
pike.git/src/modules/_Stdio/configure.in:589:   /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */      /* For _REENTRANT */   #include "../../machine.h"   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/errno.h>   #ifdef HAVE_DIRENT_H   #include <dirent.h>   #else   #ifdef HAVE_SYS_NDIR_H   #include <sys/ndir.h>   #endif   #ifdef HAVE_SYS_DIR_H   #include <sys/dir.h>   #endif
pike.git/src/modules/_Stdio/configure.in:821:   # define _LARGEFILE64_SOURCE 1   #endif   /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */      #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #ifdef HAVE_SYS_PARAM_H   #include <sys/param.h>   #endif   #ifdef HAVE_SYS_SYSPROTO_H   #include <sys/sysproto.h>   #endif   #ifdef HAVE_SYS_TYPES_H   #include <sys/types.h>   #endif   #include <sys/stat.h>
pike.git/src/modules/_Stdio/configure.in:1104:    else :; fi    fi   else :; fi      AC_MSG_CHECKING(for working (and failsafe) strerror)   AC_CACHE_VAL(pike_cv_func_failsafe_strerror,   [   AC_TRY_RUN([   #include <stdio.h>   #include <string.h> + #include <stdlib.h>   int main()   {    int e;    char *s;    for(e=0;e<256;e++) if(strerror(e)) if(strerror(e)[0]=='\b') exit(1);    exit(0);   }   ],pike_cv_func_failsafe_strerror=yes,pike_cv_func_failsafe_strerror=no,    pike_cv_func_failsafe_strerror=no)   ])
pike.git/src/modules/_Stdio/configure.in:1140:   #endif   /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */      #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif   #include <stdio.h> + #include <stdlib.h>   #include <sys/types.h>   #include <sys/wait.h>   #include <netinet/in.h>   #include <errno.h>   #ifdef HAVE_UNISTD_H   #include <unistd.h>   #endif   #include <sys/time.h>   #ifdef HAVE_SYS_SELECT_H   #include <sys/select.h>