<arpa/inet.h> and others fail because of fds_bits and val identifers.
This is the result of:
commit a623a7a1a5670c25a16881f5078072d272d96b71 Author: Arnd Bergmann arnd@arndb.de Date: Mon Mar 11 16:38:17 2019 +0100
y2038: fix socket.h header inclusion
Which has:
diff --git a/include/uapi/asm-generic/socket.h b/include/uapi/asm-generic/socket.h index c8b430cb6dc4..8c1391c89171 100644 --- a/include/uapi/asm-generic/socket.h +++ b/include/uapi/asm-generic/socket.h @@ -2,8 +2,8 @@ #ifndef __ASM_GENERIC_SOCKET_H #define __ASM_GENERIC_SOCKET_H
+#include <linux/posix_types.h> #include <asm/sockios.h> -#include <asm/bitsperlong.h>
/* For setsockopt(2) */ #define SOL_SOCKET 1
And <linux/posix_types.h> is not namespace-clean. I've raised this on the kernel lists, hopefully it can be fixed in the kernel.
Thanks, Florian