kopia lustrzana https://gitlab.com/sane-project/frontends
Merge branch 'c99' into 'master'
C99 compatibility fixes See merge request sane-project/frontends!9merge-requests/10/head
commit
0d7bff9d8f
|
@ -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 ()
|
||||||
|
|
|
@ -4864,7 +4864,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for ac_header in os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h
|
for ac_header in os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h sys/socket.h
|
||||||
do
|
do
|
||||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||||
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||||
|
@ -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 ()
|
||||||
|
|
|
@ -108,6 +108,9 @@
|
||||||
/* Define to 1 if you have the `strtod' function. */
|
/* Define to 1 if you have the `strtod' function. */
|
||||||
#undef HAVE_STRTOD
|
#undef HAVE_STRTOD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
||||||
|
#undef HAVE_SYS_SOCKET_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
#undef HAVE_SYS_STAT_H
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue