From 4a52e78196d2e0143a010e9b026f62cb05223185 Mon Sep 17 00:00:00 2001 From: "fergus.henderson" Date: Wed, 25 Jan 2012 19:09:33 +0000 Subject: Fix a build failure on an obscure platform -- see http://code.google.com/p/distcc/issues/detail?id=93. Reviewed by Craig Silverstein. git-svn-id: http://distcc.googlecode.com/svn/trunk@752 01de4be4-8c4a-0410-9132-4925637da917 --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1