configure: Include <stdlib.h> for system, exit

Otherwise the conf.sanetest check will always fail with compilers
that do not support implicit function declarations.
merge-requests/10/head^2
Florian Weimer 2023-01-17 16:23:26 +01:00
rodzic b2b5f1ca61
commit 25e9a5e13e
3 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -484,6 +484,7 @@ dnl
AC_TRY_RUN([
#include <sane/sane.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()

1
aclocal.m4 vendored
Wyświetl plik

@ -494,6 +494,7 @@ dnl
AC_TRY_RUN([
#include <sane/sane.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()

1
configure vendored
Wyświetl plik

@ -7565,6 +7565,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <sane/sane.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()