summaryrefslogtreecommitdiffstatshomepage
path: root/unix/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/socket.c')
-rw-r--r--unix/socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/socket.c b/unix/socket.c
index a9cf4a81a0..d720275192 100644
--- a/unix/socket.c
+++ b/unix/socket.c
@@ -2,7 +2,10 @@
#include <assert.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>