Include <machine/endian.h> in <sys/types.h>
Include <machine/endian.h> in <sys/types.h> if __BSD_VISIBLE for BSD compatibility. This is in line with glibc <sys/types.h>. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
		
				
					committed by
					
						 Corinna Vinschen
						Corinna Vinschen
					
				
			
			
				
	
			
			
			
						parent
						
							7656cefc07
						
					
				
				
					commit
					40928e19e4
				
			| @@ -62,6 +62,7 @@ typedef	quad_t *	qaddr_t; | ||||
| # include <stddef.h> | ||||
|  | ||||
| #if __BSD_VISIBLE | ||||
| #include <machine/endian.h> | ||||
| #include <sys/select.h> | ||||
| #  define	physadr		physadr_t | ||||
| #  define	quad		quad_t | ||||
|   | ||||
		Reference in New Issue
	
	Block a user