about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/kgio/autopush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/kgio/autopush.c b/ext/kgio/autopush.c
index eface66..252ecdd 100644
--- a/ext/kgio/autopush.c
+++ b/ext/kgio/autopush.c
@@ -242,6 +242,7 @@ static void push_pending_data(VALUE io)
                 rb_sys_fail("setsockopt(TCP_CORK/TCP_NOPUSH, 1)");
 }
 #else /* !KGIO_NOPUSH */
+void kgio_autopush_recv(VALUE io){}
 void init_kgio_autopush(void)
 {
 }