summaryrefslogtreecommitdiffstats
path: root/gprof/gprof.h
diff options
context:
space:
mode:
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