summaryrefslogtreecommitdiff
path: root/math/spar/files/patch-lib_randist_rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/spar/files/patch-lib_randist_rand.c')
-rw-r--r--math/spar/files/patch-lib_randist_rand.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/spar/files/patch-lib_randist_rand.c b/math/spar/files/patch-lib_randist_rand.c
new file mode 100644
index 000000000000..836d51c16ea0
--- /dev/null
+++ b/math/spar/files/patch-lib_randist_rand.c
@@ -0,0 +1,10 @@
+--- lib/randist/rand.c.orig 2016-06-20 13:16:43 UTC
++++ lib/randist/rand.c
+@@ -64,6 +64,7 @@
+ * struct timeb to be defined. They can be
+ * found in timeb.h.
+ */
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ void
+ sl_randomize (void)