aboutsummaryrefslogtreecommitdiff
path: root/math/orpie/files/patch-gsl::wrappers.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/orpie/files/patch-gsl::wrappers.h')
-rw-r--r--math/orpie/files/patch-gsl::wrappers.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/orpie/files/patch-gsl::wrappers.h b/math/orpie/files/patch-gsl::wrappers.h
new file mode 100644
index 000000000000..3f3ee2322280
--- /dev/null
+++ b/math/orpie/files/patch-gsl::wrappers.h
@@ -0,0 +1,11 @@
+--- gsl/wrappers.h.orig Thu Jul 22 11:33:38 2004
++++ gsl/wrappers.h Thu Aug 5 11:10:31 2004
+@@ -70,7 +70,7 @@
+ #define CONCAT3(a,b,c) CONCAT3x(a,b,c)
+
+ #ifndef DONT_USE_ALLOCA
+-#include <malloc.h>
++#include <stdlib.h>
+ #define LOCALARRAY(type, x, len) type * x = ( type *) alloca(sizeof( type ) * (len))
+ #else
+ #define LOCALARRAY(type, x, len) type x [(len)]