This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD]: PATCH: plugin tests don't work
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 9 Nov 2009 07:54:34 -0800
- Subject: [GOLD]: PATCH: plugin tests don't work
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
Plugin test needs to include "config.h". Otherwise, plugin-api.h won't
get uint64_t. OK to install?
Thanks.
H.J.
----
009-11-09 H.J. Lu <hongjiu.lu@intel.com>
PR gold/10930
* testsuite/plugin_test.c: Include "config.h".
diff --git a/gold/testsuite/plugin_test.c b/gold/testsuite/plugin_test.c
index 2218d08..9d095e8 100644
--- a/gold/testsuite/plugin_test.c
+++ b/gold/testsuite/plugin_test.c
@@ -20,6 +20,10 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>