mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Add missing includes for getpeername.
getpeername(2) requires <sys/socket.h> which on some systems also requires <sys/types.h>. Include both to avoid compilation warnings.
This commit is contained in:
parent
9cfa02fe73
commit
b39e827d22
@ -31,6 +31,8 @@
|
|||||||
#include "redis.h"
|
#include "redis.h"
|
||||||
#include "endianconv.h"
|
#include "endianconv.h"
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user