]> git.saurik.com Git - redis.git/blobdiff - src/replication.c
Added the SRANDMEMBER key <count> variant.
[redis.git] / src / replication.c
index b43e9927f5886cc1c77ede523d38a68ba7fda599..871ce95aeb0b2ed8d81431ab32c2cb9193a2477c 100644 (file)
@@ -3,6 +3,7 @@
 #include <sys/time.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <sys/socket.h>
 #include <sys/stat.h>
 
 /* ---------------------------------- MASTER -------------------------------- */