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 malloc() protoy...



details:   https://anonhg.NetBSD.org/src/rev/ade960cb2cc1
branches:  trunk
changeset: 515832:ade960cb2cc1
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Oct 05 18:47:42 2001 +0000

description:
Need <stdlib.h> for malloc() 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/corefile.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 96e333840472 -r ade960cb2cc1 gnu/dist/toolchain/gprof/corefile.c
--- a/gnu/dist/toolchain/gprof/corefile.c       Fri Oct 05 17:53:36 2001 +0000
+++ b/gnu/dist/toolchain/gprof/corefile.c       Fri Oct 05 18:47:42 2001 +0000
@@ -24,6 +24,8 @@
 #include "corefile.h"
 #include "symtab.h"
 
+#include <stdlib.h>
+
 bfd *core_bfd;
 int core_num_syms;
 asymbol **core_syms;



Home | Main Index | Thread Index | Old Index