Branch: Tag:

2021-01-04

2021-01-04 11:49:59 by Marcus Comstedt <marcus@mc.pp.se>

Build [Configure]: Include <stdlib.h> in tests using exit()

387:   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/types.h>   #ifdef HAVE_SYS_XATTR_H   #include <sys/xattr.h>
411:   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/types.h>   #ifdef HAVE_SYS_XATTR_H   #include <sys/xattr.h>
461:   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/types.h>   #ifdef HAVE_DIRENT_H   #include <dirent.h>
512:   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/errno.h>   #ifdef HAVE_DIRENT_H   #include <dirent.h>
596:   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #include <sys/errno.h>   #ifdef HAVE_DIRENT_H   #include <dirent.h>
828:   #ifndef POSIX_SOURCE   #define POSIX_SOURCE   #endif + #include <stdlib.h>   #ifdef HAVE_SYS_PARAM_H   #include <sys/param.h>   #endif
1111:   AC_TRY_RUN([   #include <stdio.h>   #include <string.h> + #include <stdlib.h>   int main()   {    int e;
1147:   #define POSIX_SOURCE   #endif   #include <stdio.h> + #include <stdlib.h>   #include <sys/types.h>   #include <sys/wait.h>   #include <netinet/in.h>