summaryrefslogtreecommitdiff
path: root/usrsctp.h
diff options
context:
space:
mode:
authort00fcxen <t00fcxen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7>2012-09-04 17:41:35 +0000
committert00fcxen <t00fcxen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7>2012-09-04 17:41:35 +0000
commitb8c1a51578940ce82d1c8dbe4aafcf3828d8d06a (patch)
tree419ba83c99796622207dd171bc20f88f353ea03e /usrsctp.h
parent9d961e5c3872d113c13a30d9f7b5af3c09d82b3e (diff)
downloadusrsctplib-b8c1a51578940ce82d1c8dbe4aafcf3828d8d06a.tar.gz
The only #ifdefs left are for INET and INET6.
git-svn-id: http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp/usrsctplib@8138 9df1edf5-d72c-5b5f-11c0-5f5209eb73f7
Diffstat (limited to 'usrsctp.h')
-rw-r--r--usrsctp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usrsctp.h b/usrsctp.h
index 7e37d8c..d649108 100644
--- a/usrsctp.h
+++ b/usrsctp.h
@@ -85,7 +85,10 @@ extern "C" {
typedef uint32_t sctp_assoc_t;
#define AF_CONN 123
-#if !defined(__Userspace_os_Linux) && !defined(__Userspace_os_Windows)
+/* The definition of struct sockaddr_conn MUST be in
+ * tune with other sockaddr_* structures.
+ */
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
struct sockaddr_conn {
uint8_t sconn_len;
uint8_t sconn_family;