summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2012-01-25 19:09:33 +0000
committerfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2012-01-25 19:09:33 +0000
commit4a52e78196d2e0143a010e9b026f62cb05223185 (patch)
tree01bd1ed465433da4cd665582795700997cc861d6
parent263c8912a68ec3b5dc2741089d2237b5aded3d7c (diff)
downloaddistcc-4a52e78196d2e0143a010e9b026f62cb05223185.tar.gz
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
-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;