summaryrefslogtreecommitdiff
path: root/scanf
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-12-06 21:11:44 +0100
committerKevin Ryde <user42@zip.com.au>2003-12-06 21:11:44 +0100
commit25000c682c45dcf4ad03ee9c2722729f9b1223cb (patch)
tree4c2f1e037e356a7716a1d68bf8f5f522889c95c5 /scanf
parent28aea651ebd47cb09c4fab52101d1746de642414 (diff)
downloadgmp-25000c682c45dcf4ad03ee9c2722729f9b1223cb.tar.gz
Add <stdlib.h> for strtol.
Diffstat (limited to 'scanf')
-rw-r--r--scanf/doscan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scanf/doscan.c b/scanf/doscan.c
index 8865fcd6f..27a1e3957 100644
--- a/scanf/doscan.c
+++ b/scanf/doscan.c
@@ -4,7 +4,7 @@
CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR COMPLETELY IN
FUTURE GNU MP RELEASES.
-Copyright 2001, 2002 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -36,6 +36,7 @@ MA 02111-1307, USA. */
#include <ctype.h>
#include <stddef.h> /* for ptrdiff_t */
#include <stdio.h>
+#include <stdlib.h> /* for strtol */
#include <string.h>
#if HAVE_LANGINFO_H