Guard u_char,u_short,u_int,u_long with __MISC_VISIBLE
These types are available in SVID as well. * libc/include/sys/types.h (u_char,u_short,u_int,u_long): Replace __BSD_VISIBLE with __MISC_VISIBLE. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user