summaryrefslogtreecommitdiff
path: root/gprof/gprof.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-07-29 04:09:18 +0000
committerAlan Modra <amodra@gmail.com>2012-07-29 04:09:18 +0000
commitd59b9bb4150376a3f2af90f495e327f803103ab6 (patch)
treef6931834bf802df02fefc912c9f97cd88b2c43bb /gprof/gprof.h
parent703852462405e390b20c10d18f69b2e2e4192238 (diff)
downloadbinutils-gdb-d59b9bb4150376a3f2af90f495e327f803103ab6.tar.gz
* gprof.h: Don't include gconfig.h twice. Undef conflicting
PACKAGE_* defines.
Diffstat (limited to 'gprof/gprof.h')
-rw-r--r--gprof/gprof.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 0856976eef1..69527fc29b4 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -29,19 +29,15 @@
#ifndef gprof_h
#define gprof_h
-#include "gconfig.h"
-
-#undef PACKAGE
-
/* Include the BFD sysdep.h file. */
#include "sysdep.h"
#include "bfd.h"
-/* Undefine the BFD PACKAGE and VERSION macros before including the
- gprof config.h file. */
#undef PACKAGE
-#undef VERSION
-
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
#include "gconfig.h"
#ifndef MIN