You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/djbfft/files/djbfft-0.76-headers.patch

39 lines
627 B

--- 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"