]> git.saurik.com Git - redis.git/commitdiff
Fix compilation on FreeBSD. Thanks to @koobs on twitter.
authorantirez <antirez@gmail.com>
Mon, 17 Sep 2012 10:45:57 +0000 (12:45 +0200)
committerantirez <antirez@gmail.com>
Mon, 17 Sep 2012 10:45:57 +0000 (12:45 +0200)
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 -------------------------------- */