]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Also define IPV6_TCLASS for older versions of OS X
authorMike Miller <mtmiller@debian.org>
Mon, 14 Jan 2019 20:15:07 +0000 (12:15 -0800)
committerMike Miller <mtmiller@debian.org>
Mon, 14 Jan 2019 20:16:24 +0000 (12:16 -0800)
Signed-off-by: Mike Miller <mtmiller@debian.org>
ssl.c

diff --git a/ssl.c b/ssl.c
index 2042b1fc95b14e60372deee31cf80113ccd0b7f6..336501e9bbe9ad3a5741306b46552ccc950f810b 100644 (file)
--- a/ssl.c
+++ b/ssl.c
@@ -53,6 +53,8 @@
 #ifndef IPV6_TCLASS
 #if defined(__GNU__)
 #define IPV6_TCLASS 61
+#elif defined(__APPLE__)
+#define IPV6_TCLASS 36
 #endif
 #endif