aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog2
-rw-r--r--gprof/gprof.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index ae0c7a5..f9138a7 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,6 +1,6 @@
Mon Apr 26 12:37:46 1993 Ian Lance Taylor (ian@cygnus.com)
- * gprof.h: Include ansidecl.h before sysdep.h.
+ * gprof.h: Include ansidecl.h before sysdep.h. Undefine hz.
Tue Apr 13 16:14:03 1993 Per Bothner (bothner@cygnus.com)
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 838f960..8431a9d 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -24,6 +24,9 @@
#include "bfd.h"
#include "gmon.h"
+/* AIX defines hz as a macro. */
+#undef hz
+
#ifdef MACHINE_H
# include MACHINE_H
#else