aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/os_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/os_socket.h b/src/util/os_socket.h
index 0d6f8749176..db0dc905a2b 100644
--- a/src/util/os_socket.h
+++ b/src/util/os_socket.h
@@ -10,6 +10,7 @@
#include <stdio.h>
#include <stdbool.h>
+#include <unistd.h>
#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;