diff options
Diffstat (limited to 'src/math/random.c')
| -rw-r--r-- | src/math/random.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/math/random.c b/src/math/random.c index 44bdb27..94197fe 100644 --- a/src/math/random.c +++ b/src/math/random.c @@ -2,6 +2,7 @@ * ecgen, tool for generating Elliptic curve domain parameters * Copyright (C) 2017 J08nY */ +#define _POSIX_C_SOURCE 200809L #include "random.h" #include <time.h> @@ -57,4 +58,4 @@ GEN random_int(long bits) { gel(range, 2) = powis(gen_2, bits); return gerepilecopy(ltop, genrand(range)); -}
\ No newline at end of file +} |
