From b39e827d22cbec5752a2a70d7b350f2215c385e2 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 dacddbcc..9f789d94 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -31,6 +31,8 @@ #include "redis.h" #include "endianconv.h" +#include +#include #include #include #include -- GitLab