summaryrefslogtreecommitdiff
path: root/sci-libs/qfits/files/qfits-6.2.0-m4.patch
blob: 99b39bdad4518b81176225e663ed9beeceb4a57d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Missing system inlude in self-defined autoconf tests
https://bugs.gentoo.org/908483
--- a/m4macros/eso.m4
+++ b/m4macros/eso.m4
@@ -252,6 +252,7 @@
                        AC_RUN_IFELSE([
 #include <stdio.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 int
 doit(char * s, ...)
@@ -701,6 +702,7 @@
                    [
                        AC_RUN_IFELSE([
 #include <stdarg.h>
+#include <stdlib.h>
 
 void f(int i, ...)
 {
@@ -733,6 +735,7 @@
                    [
                        AC_RUN_IFELSE([
 #include <stdarg.h>
+#include <stdlib.h>
 
 void f(int i, ...)
 {
@@ -784,6 +787,7 @@
                    [
                        AC_RUN_IFELSE([
 #include <stdarg.h>
+#include <stdlib.h>
 
 void f(int i, ...)
 {