aboutsummaryrefslogtreecommitdiff
path: root/net/spserver/files/patch-matrixssl_sslSocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/spserver/files/patch-matrixssl_sslSocket.h')
-rw-r--r--net/spserver/files/patch-matrixssl_sslSocket.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/spserver/files/patch-matrixssl_sslSocket.h b/net/spserver/files/patch-matrixssl_sslSocket.h
new file mode 100644
index 000000000000..6f4b2db40ef2
--- /dev/null
+++ b/net/spserver/files/patch-matrixssl_sslSocket.h
@@ -0,0 +1,11 @@
+--- matrixssl/sslSocket.h.orig 2008-10-06 11:22:38.000000000 +0800
++++ matrixssl/sslSocket.h 2008-10-06 11:22:48.000000000 +0800
+@@ -48,7 +48,7 @@
+ #define MSG_NOSIGNAL 0
+ #define WOULD_BLOCK WSAEWOULDBLOCK
+ #define getSocketError() WSAGetLastError()
+-#elif linux
++#elif linux || FreeBSD
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>