[GOLD]: PATCH: plugin tests don't work

View: New views
2 Messages — Rating Filter:   Alert me  

[GOLD]: PATCH: plugin tests don't work

by H.J. Lu-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>

        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>

Re: [GOLD]: PATCH: plugin tests don't work

by Ian Lance Taylor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"H.J. Lu" <hongjiu.lu@...> writes:

> 009-11-09  H.J. Lu  <hongjiu.lu@...>
>
> PR gold/10930
> * testsuite/plugin_test.c: Include "config.h".

This is OK.

Thanks.

(Can you update your mail alias to use sourceware.org rather than
sources.redhat.com?)

Ian