summaryrefslogtreecommitdiff
path: root/mpz/root.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-01-12 01:29:58 +0100
committerKevin Ryde <user42@zip.com.au>2002-01-12 01:29:58 +0100
commitb5729ee31935101113ad9f2bce706d4018cc7f42 (patch)
tree42f262b7a63edfd9dc97cabe2b03a258b118450f /mpz/root.c
parent913e3869b44956953bec1a8fd1a5af9a1de0c0b7 (diff)
downloadgmp-b5729ee31935101113ad9f2bce706d4018cc7f42.tar.gz
* mpz/root.c: Add <stdlib.h>, for abort().
Diffstat (limited to 'mpz/root.c')
-rw-r--r--mpz/root.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mpz/root.c b/mpz/root.c
index 24199e6a7..dee139755 100644
--- a/mpz/root.c
+++ b/mpz/root.c
@@ -1,7 +1,7 @@
/* mpz_root(root, u, nth) -- Set ROOT to floor(U^(1/nth)).
Return an indication if the result is exact.
-Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -26,7 +26,8 @@ MA 02111-1307, USA. */
to some extent. It would be natural to avoid representing the low zero
bits mpz_scan1 is counting, and at the same time call mpn directly. */
-#include <stdio.h> /* for NULL */
+#include <stdio.h> /* for NULL */
+#include <stdlib.h> /* for abort */
#include "gmp.h"
#include "gmp-impl.h"
#include "longlong.h"