It is an excellent platform for catching bugs: big-endian, slow enough that a context switch in the middle of an operation becomes a regular occurrence, and all that on a SMP box. Or: I just wanted to see if it would work. Signed-off-by: Erik Boasson <eb@ilities.com>
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef DDSRT_FIXUP_SYS_SOCKET_H
 | 
						|
#define DDSRT_FIXUP_SYS_SOCKET_H
 | 
						|
 | 
						|
#include "netinet/in.h"
 | 
						|
#include_next "sys/socket.h"
 | 
						|
 | 
						|
typedef size_t socklen_t;
 | 
						|
 | 
						|
struct sockaddr_storage {
 | 
						|
  sa_family_t ss_family;
 | 
						|
  struct sockaddr_in stuff;
 | 
						|
};
 | 
						|
 | 
						|
#endif /* DDSRT_FIXUP_SYS_SOCKET_H */
 |