This patch contains the required changes (under __NBSD_LIBC definition) of the common headers to compile the NetBSD libc.