summaryrefslogtreecommitdiff
path: root/math/prng/files/patch-examples_pairs.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/prng/files/patch-examples_pairs.c')
-rw-r--r--math/prng/files/patch-examples_pairs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/prng/files/patch-examples_pairs.c b/math/prng/files/patch-examples_pairs.c
new file mode 100644
index 000000000000..50d3eeb5cf8d
--- /dev/null
+++ b/math/prng/files/patch-examples_pairs.c
@@ -0,0 +1,10 @@
+--- examples/pairs.c.orig 2000-10-17 08:39:02.000000000 -0700
++++ examples/pairs.c 2019-09-01 21:02:29.348451000 -0700
+@@ -53,6 +53,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include "prng.h"
++#define gets(_a) gets_s(_a, sizeof(_a))
+
+ struct prng_struct *generator;
+ char outfile[200] = "pairs.out";