summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2007-09-24 19:47:58 +0200
committertege <tege@gmplib.org>2007-09-24 19:47:58 +0200
commit012f4788bdf4a7450139e246896d715ffce2b646 (patch)
treea666a926cdeb3c2a5cd5a27a38ce64f91ef39550
parent88cfac776eefb9d2723080edec6adaff1308e1eb (diff)
downloadgmp-012f4788bdf4a7450139e246896d715ffce2b646.tar.gz
Include string.h for strcmp.
-rw-r--r--demos/isprime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/isprime.c b/demos/isprime.c
index fa6d32039..5b245dd08 100644
--- a/demos/isprime.c
+++ b/demos/isprime.c
@@ -1,5 +1,5 @@
/* Classify numbers as probable primes, primes or composites.
- With -q return true if the folowing argument is a (probable) prime.
+ With -q return true if the following argument is a (probable) prime.
Copyright 1999, 2000, 2002, 2005 Free Software Foundation, Inc.
@@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License along with
this program. If not, see http://www.gnu.org/licenses/. */
#include <stdlib.h>
+#include <string.h>
#include <stdio.h>
#include "gmp.h"