Add __va_list to <sys/_types.h>
Add __va_list to <sys/_types.h> for BSD compatibility. In FreeBSD this typedef is provided by the various architecture-specific <machine/_types.h> in a copy and paste manner. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
		
				
					committed by
					
						 Corinna Vinschen
						Corinna Vinschen
					
				
			
			
				
	
			
			
			
						parent
						
							770e94f3fd
						
					
				
				
					commit
					7656cefc07
				
			| @@ -177,4 +177,10 @@ typedef	unsigned short	__nlink_t; | ||||
| typedef	long		__suseconds_t;	/* microseconds (signed) */ | ||||
| typedef	unsigned long	__useconds_t;	/* microseconds (unsigned) */ | ||||
|  | ||||
| #ifdef __GNUCLIKE_BUILTIN_VARARGS | ||||
| typedef	__builtin_va_list	__va_list; | ||||
| #else | ||||
| typedef	char *			__va_list; | ||||
| #endif /* __GNUCLIKE_BUILTIN_VARARGS */ | ||||
|  | ||||
| #endif	/* _SYS__TYPES_H */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user