Add support for Solaris 2.6 on sun4m builds
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>
This commit is contained in:
parent
47920df65c
commit
fda285e2f5
52 changed files with 1266 additions and 4197 deletions
14
ports/solaris2.6/include/sys/socket.h
Normal file
14
ports/solaris2.6/include/sys/socket.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#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 */
|
Loading…
Add table
Add a link
Reference in a new issue