summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index 5206035..63ff587 100644
--- a/src/io.c
+++ b/src/io.c
@@ -261,7 +261,7 @@ int dcc_writex(int fd, const void *buf, size_t len)
**/
int tcp_cork_sock(int POSSIBLY_UNUSED(fd), int POSSIBLY_UNUSED(corked))
{
-#ifdef TCP_CORK
+#if defined(TCP_CORK) && defined(SOL_TCP)
if (!dcc_getenv_bool("DISTCC_TCP_CORK", 1))
return 0;