diff options
author | Linus Nordberg <linus@nordberg.se> | 2000-04-10 17:15:46 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2000-04-10 17:15:46 +0200 |
commit | 68399661ca3871ba574d1b76db952911a96c37ce (patch) | |
tree | f60b363f71eaf98a5ea0e8b9ea492e65f046eef1 /tests | |
parent | 71b3031a6cde3b2f2c7fb716e7af9659875fa414 (diff) | |
download | gmp-68399661ca3871ba574d1b76db952911a96c37ce.tar.gz |
Declare optarg, optind, opterr if not already declared.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rand/stat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rand/stat.c b/tests/rand/stat.c index 5cf60b9b4..a6f0d6068 100644 --- a/tests/rand/stat.c +++ b/tests/rand/stat.c @@ -24,6 +24,11 @@ Test 1000 integers 0 <= X <= 2^34-1. #include "gmp.h" #include "gmpstat.h" +#if !HAVE_DECL_OPTARG +extern char *optarg; +extern int optind, opterr; +#endif + #define FVECSIZ (100000L) int g_debug = 0; |