summaryrefslogtreecommitdiffstats
path: root/gprof/gprof.h
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@cygnus>1992-03-06 11:56:31 +0000
committerSean Eric Fagan <sef@cygnus>1992-03-06 11:56:31 +0000
commit77c9b2c3e207ee1014191417f0309ef08bbe78e6 (patch)
tree8b6e7a79a91933a326d00b17bcdbaf9203f428ad /gprof/gprof.h
parent89a471fe5705c5da873970624f04c807f09ce648 (diff)
downloadppe42-binutils-77c9b2c3e207ee1014191417f0309ef08bbe78e6.tar.gz
ppe42-binutils-77c9b2c3e207ee1014191417f0309ef08bbe78e6.zip
Fixed bugs (both typos and algorithmic) bugs. It now matches native gprof's
on both the sparc (SunOS) and Mach386 systems, more or less. (The differences are at least partially due to what I think might be bugs in the native gprof.)
Diffstat (limited to 'gprof/gprof.h')
-rw-r--r--gprof/gprof.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 35ad5af3ee..52cf896567 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -20,7 +20,9 @@
*/
#include <stdio.h>
+#ifdef __STDC__
#include <stdlib.h>
+#endif /* __STDC__ */
#include <sys/types.h>
#include <sys/stat.h>
#include "bfd.h"
OpenPOWER on IntegriCloud