When making gettext-0.18, I have some "error: two or more data types in declaration specifiers", I just simply commend those lines.
//typedef long int ssize_t;
//typedef uint64_t uintmax_t;
typedef __kernel_nlink_t nlink_t;
/sysroot/usr/include/linux/types.h:21:typedef __kernel_pid_t pid_t;