The same error appears on NetBSD 6.99.19 because __always_inline is already defined without the inline keyword in sys/cdefs.h. Including the inline keyword in the macro wouldn't work if the macro is used at the very end of a declaration like in: inline void foo (const char) __always_inline;
To compile this I just declared #define __inline__always_inline inline __attribute__((always_inline)) and changed every occurence of __always_inline with __inline_always_inline. Kai-Uwe