From cc9c474c604d6e4a0b875a52e7385418eda0ffc0 Mon Sep 17 00:00:00 2001 From: Geoff Garside Date: Tue, 20 Sep 2011 00:00:14 +0100 Subject: [PATCH] Add missing includes for getpeername. getpeername(2) requires which on some systems also requires . Include both to avoid compilation warnings. --- src/cluster.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cluster.c b/src/cluster.c index dacddbcc0..9f789d940 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -31,6 +31,8 @@ #include "redis.h" #include "endianconv.h" +#include +#include #include #include #include