<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- proxygen/lib/http/session/HTTPSession.cpp.orig	2022-12-25 16:00:33.000000000 +0700
+++ proxygen/lib/http/session/HTTPSession.cpp	2022-12-31 06:26:42.000000000 +0700
@@ -24,6 +24,10 @@
 #include &lt;wangle/acceptor/ConnectionManager.h&gt;
 #include &lt;wangle/acceptor/SocketOptions.h&gt;
 
+#ifdef __APPLE__
+# include &lt;AvailabilityMacros.h&gt;
+#endif
+
 using fizz::AsyncFizzBase;
 using folly::AsyncSocket;
 using folly::AsyncSocketException;
@@ -2027,7 +2031,7 @@
       transportInfo_.rtt = std::chrono::microseconds(tinfo-&gt;tcpinfo.tcpi_rtt);
     }
     transportInfo_.rtx = tinfo-&gt;rtx;
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) &amp;&amp; MAC_OS_X_VERSION_MIN_REQUIRED &gt; 101003
     tinfo-&gt;recvwnd = tinfo-&gt;tcpinfo.tcpi_rcv_wnd
                      &lt;&lt; tinfo-&gt;tcpinfo.tcpi_rcv_wscale;
 #endif
</pre></body></html>