ext/kgio/read_write.c in kgio-2.7.3 vs ext/kgio/read_write.c in kgio-2.7.4
- old
+ new
@@ -18,14 +18,11 @@
static inline void kgio_autopush_read(VALUE io) { }
static inline void kgio_autopush_write(VALUE io) { }
#else
static const int peek_flags = MSG_PEEK;
-# include <netinet/tcp.h>
-# if defined(TCP_NOPUSH)
static inline void kgio_autopush_read(VALUE io) { kgio_autopush_recv(io); }
static inline void kgio_autopush_write(VALUE io) { kgio_autopush_send(io); }
-# endif
#endif
NORETURN(static void raise_empty_bt(VALUE, const char *));
NORETURN(static void my_eof_error(void));
NORETURN(static void wr_sys_fail(const char *));