Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/bc/lib need string.h for mem* prototypes.



details:   https://anonhg.NetBSD.org/src/rev/67e2ab579fc8
branches:  trunk
changeset: 501838:67e2ab579fc8
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Jan 08 08:06:37 2001 +0000

description:
need string.h for mem* prototypes.
XXX not sure if we need to compile getopt{,1}.c in gnu/usr.bin/{bc,dc}...

diffstat:

 gnu/dist/bc/lib/getopt.c |  1 +
 gnu/dist/bc/lib/number.c |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 4428e05b6773 -r 67e2ab579fc8 gnu/dist/bc/lib/getopt.c
--- a/gnu/dist/bc/lib/getopt.c  Mon Jan 08 07:49:01 2001 +0000
+++ b/gnu/dist/bc/lib/getopt.c  Mon Jan 08 08:06:37 2001 +0000
@@ -43,6 +43,7 @@
 #endif
 
 #include <stdio.h>
+#include <string.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C
diff -r 4428e05b6773 -r 67e2ab579fc8 gnu/dist/bc/lib/number.c
--- a/gnu/dist/bc/lib/number.c  Mon Jan 08 07:49:01 2001 +0000
+++ b/gnu/dist/bc/lib/number.c  Mon Jan 08 08:06:37 2001 +0000
@@ -34,6 +34,7 @@
 #include <number.h>
 #include <assert.h>
 #include <stdlib.h>
+#include <string.h>
 #include <ctype.h>/* Prototypes needed for external utility routines. */
 
 #define bc_rt_warn rt_warn



Home | Main Index | Thread Index | Old Index