summaryrefslogtreecommitdiff
path: root/printf
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-11-04 00:16:13 +0100
committerKevin Ryde <user42@zip.com.au>2002-11-04 00:16:13 +0100
commit69249d0c0731595c7581df216d532acf079196a1 (patch)
treec6d32b8be11ba68edd4a94ce9625d77400b279f0 /printf
parent83047b336d92a2300c882e832bc6960ef88dc312 (diff)
downloadgmp-69249d0c0731595c7581df216d532acf079196a1.tar.gz
* mpbsd/mtox.c, printf/obprintf.c, printf/obvprintf.c,
scanf/vsscanf.c, demos/expr/expr.c, demos/expr/exprf.c, demos/expr/exprfa.c, demos/expr/exprfr.c, demos/expr/exprq.c, demos/expr/exprz.c, demos/expr/exprza.c: Add <string.h> for strlen and memcpy.
Diffstat (limited to 'printf')
-rw-r--r--printf/obprintf.c3
-rw-r--r--printf/obvprintf.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/printf/obprintf.c b/printf/obprintf.c
index 782c8d430..bf91776d5 100644
--- a/printf/obprintf.c
+++ b/printf/obprintf.c
@@ -1,6 +1,6 @@
/* gmp_obstack_printf -- formatted output to an obstack.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -30,6 +30,7 @@ MA 02111-1307, USA. */
#endif
#include <obstack.h>
+#include <string.h>
#include "gmp.h"
#include "gmp-impl.h"
diff --git a/printf/obvprintf.c b/printf/obvprintf.c
index 81b8c83a3..78f4028a7 100644
--- a/printf/obvprintf.c
+++ b/printf/obvprintf.c
@@ -1,6 +1,6 @@
/* gmp_obstack_vprintf -- formatted output to an obstack.
-Copyright 2001 Free Software Foundation, Inc.
+Copyright 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -30,6 +30,7 @@ MA 02111-1307, USA. */
#endif
#include <obstack.h>
+#include <string.h>
#include "gmp.h"
#include "gmp-impl.h"