Permalink
Browse files

ifdef int x declaration to fix build failure

  • Loading branch information...
Tollef Fog Heen
Tollef Fog Heen committed Mar 12, 2013
1 parent 0a712d9 commit f8b37ce317b2e5b524b72dc507f842333df15197
Showing with 4 additions and 1 deletion.
  1. +4 −1 bin/varnishd/cache/cache_acceptor.c
@@ -122,12 +122,15 @@ static unsigned need_test;
static int
vca_tcp_opt_init(void)
{
- int n, x;
+ int n;
int one = 1;
// int zero = 0;
struct tcp_opt *to;
struct timeval tv;
int chg = 0;
+#ifdef HAVE_TCP_KEEP
+ int x;
+#endif
for (n = 0; n < n_tcp_opts; n++) {
to = &tcp_opts[n];

0 comments on commit f8b37ce

Please sign in to comment.