Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/toolchain/gprof Need <stdlib.h> for getenv() protoy...



details:   https://anonhg.NetBSD.org/src/rev/8ada5ddbf46b
branches:  trunk
changeset: 515833:8ada5ddbf46b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Oct 05 18:48:01 2001 +0000

description:
Need <stdlib.h> for getenv() protoype (to avoid warning on LP64).
XXX This patch probably isn't right, but I'm not interested in
detangling the GNU include file nightmare right now.

diffstat:

 gnu/dist/toolchain/gprof/gprof.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r ade960cb2cc1 -r 8ada5ddbf46b gnu/dist/toolchain/gprof/gprof.c
--- a/gnu/dist/toolchain/gprof/gprof.c  Fri Oct 05 18:47:42 2001 +0000
+++ b/gnu/dist/toolchain/gprof/gprof.c  Fri Oct 05 18:48:01 2001 +0000
@@ -31,6 +31,8 @@
 #include "sym_ids.h"
 #include "demangle.h"
 
+#include <stdlib.h>
+
 const char *whoami;
 const char *function_mapping_file;
 const char *a_out_name = A_OUTNAME;



Home | Main Index | Thread Index | Old Index