summaryrefslogtreecommitdiff
path: root/sci-libs/djbfft/files/djbfft-0.76-headers.patch
blob: e6c82d2eb6264f91e4a52b9934ca9b99dbb45aab (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
37
38
--- a/strerr.h
+++ b/strerr.h
@@ -1,3 +1,5 @@
+#include <errno.h>
+
 #ifndef STRERR_H
 #define STRERR_H
 
--- a/substdio.h
+++ b/substdio.h
@@ -1,3 +1,5 @@
+#include <errno.h>
+
 #ifndef SUBSTDIO_H
 #define SUBSTDIO_H
 
--- a/speed.c
+++ b/speed.c
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include "fftr4.h"
 #include "fftr8.h"
 #include "fftc4.h"
--- a/accuracy2.c
+++ b/accuracy2.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
 #include "fftc4.h"
--- a/accuracy.c
+++ b/accuracy.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
 #include "fftc4.h"