2849e53eab8855fd40ab8cb158a00f6e1d79a3ce
[openwrt/staging/ldir.git] / package / libs / nettle / patches / 100-portability.patch
1 --- a/configure
2 +++ b/configure
3 @@ -4635,6 +4635,7 @@ $as_echo_n "checking build system compil
4 # remove anything that might look like compiler output to our "||" expression
5 rm -f conftest* a.out b.out a.exe a_out.exe
6 cat >conftest.c <<EOF
7 +#include <stdlib.h>
8 int
9 main ()
10 {
11 @@ -4667,6 +4668,7 @@ $as_echo_n "checking build system compil
12 # remove anything that might look like compiler output to our "||" expression
13 rm -f conftest* a.out b.out a.exe a_out.exe
14 cat >conftest.c <<EOF
15 +#include <stdlib.h>
16 int
17 main ()
18 {
19 @@ -4703,6 +4705,7 @@ $as_echo_n "checking build system compil
20 # remove anything that might look like compiler output to our "||" expression
21 rm -f conftest* a.out b.out a.exe a_out.exe
22 cat >conftest.c <<EOF
23 +#include <stdlib.h>
24 int
25 main ()
26 {
27 @@ -4753,6 +4756,7 @@ else
28 gmp_cv_prog_exeext_for_build="$EXEEXT"
29 else
30 cat >conftest.c <<EOF
31 +#include <stdlib.h>
32 int
33 main ()
34 {