diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index 33c3e3ecf..feea7af05 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -91,7 +91,7 @@ typedef quad_t * qaddr_t; #endif /* These types are required by netinet/ *.h on Cygwin */ -#if __BSD_VISIBLE || defined(__CYGWIN__) +#if __MISC_VISIBLE || defined(__CYGWIN__) #ifndef _BSDTYPES_DEFINED /* also defined in mingw/gmon.h and in w32api/winsock[2].h */ #ifndef __u_char_defined