kopia lustrzana https://gitlab.com/sane-project/frontends
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
rodzic
b2b5f1ca61
commit
25e9a5e13e
|
@ -484,6 +484,7 @@ dnl
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include <sane/sane.h>
|
#include <sane/sane.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
|
|
|
@ -494,6 +494,7 @@ dnl
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include <sane/sane.h>
|
#include <sane/sane.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
|
|
|
@ -7565,6 +7565,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
|
||||||
#include <sane/sane.h>
|
#include <sane/sane.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
|
|
Ładowanie…
Reference in New Issue