aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/gprof.h')
-rw-r--r--gprof/gprof.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h
index c61886a..303588c 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -22,8 +22,17 @@
#define gprof_h
#include <ansidecl.h>
+
+/* Include the BFD sysdep.h file. */
#include "sysdep.h"
+/* Undefine the BFD PACKAGE and VERSION macros before including the
+ gprof config.h file. */
+#undef PACKAGE
+#undef VERSION
+
+#include "gconfig.h"
+
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif