about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-01 14:47:41 -0800
committerEric Wong <normalperson@yhbt.net>2011-03-01 14:50:16 -0800
commit943fbb44f7b2194311ac614c3a6c54420c8dda94 (patch)
tree247797b0c31e06bf1800dea934b2a304515e98c4
parentd93e6b2903f2d702b5dc85de86eb91eb7794cc0d (diff)
downloadraindrops-943fbb44f7b2194311ac614c3a6c54420c8dda94.tar.gz
It's more complete for people on ancient systems where
"struct tcp_info" is defined in netinet/tcp and missing
tcp_ircv_rtt, tcpi_rcv_space and tcpi_total_retrans.
-rw-r--r--ext/raindrops/linux_tcp_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/raindrops/linux_tcp_info.c b/ext/raindrops/linux_tcp_info.c
index 8ca3585..0c64ded 100644
--- a/ext/raindrops/linux_tcp_info.c
+++ b/ext/raindrops/linux_tcp_info.c
@@ -1,7 +1,7 @@
 #include <ruby.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
-#include <netinet/tcp.h>
+#include <linux/tcp.h>
 #ifdef TCP_INFO
 #include "my_fileno.h"