2012/9/21 Tommi Rantala <[email protected]>: > In file included from src/ppc32/Ginit.c:31, > from src/ppc32/Linit.c:4: > src/ppc32/ucontext_i.h:46: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'UNUSED' > --- > src/ppc32/ucontext_i.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/ppc32/ucontext_i.h b/src/ppc32/ucontext_i.h > index 0fd60d9..11e4a57 100644 > --- a/src/ppc32/ucontext_i.h > +++ b/src/ppc32/ucontext_i.h > @@ -26,6 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE > SOFTWARE. */ > #ifndef ucontext_i_h > #define ucontext_i_h > > +#include "compiler.h" > #include <ucontext.h>
I have replaced this patch with a different one in the for-upstream github branch: commit e2d5cdd22da48a5bbf772090b55590ef70b63999 Author: Tommi Rantala <[email protected]> Date: Tue Sep 18 13:42:04 2012 +0300 ppc32: include `compiler.h' for UNUSED in ucontext_i.h diff --git a/src/ppc32/ucontext_i.h b/src/ppc32/ucontext_i.h index 5a7c01d..11e4a57 100644 --- a/src/ppc32/ucontext_i.h +++ b/src/ppc32/ucontext_i.h @@ -26,7 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef ucontext_i_h #define ucontext_i_h -#include "libunwind_i.h" +#include "compiler.h" #include <ucontext.h> /* These values were derived by reading _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
