From dbfe01c60d0d231f42e18768cbb8b23612f281fc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 21 Mar 2011 15:17:21 -0700 Subject: tcp_info: mark this as Linux-only We can't even pull in linux/*.h headers to check for TCP_INFO. --- ext/raindrops/linux_tcp_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/raindrops/linux_tcp_info.c b/ext/raindrops/linux_tcp_info.c index 1a2048c..ce1c2d3 100644 --- a/ext/raindrops/linux_tcp_info.c +++ b/ext/raindrops/linux_tcp_info.c @@ -1,3 +1,4 @@ +#ifdef __linux__ #include #include #include @@ -168,3 +169,4 @@ void Init_raindrops_linux_tcp_info(void) TCPI_DEFINE_METHOD(total_retrans); } #endif /* TCP_INFO */ +#endif /* __linux__ */ -- cgit v1.2.3-24-ge0c7