aboutsummaryrefslogtreecommitdiffstats
path: root/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sock.h')
-rw-r--r--sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sock.h b/sock.h
index 9a9cc223..23a08bb4 100644
--- a/sock.h
+++ b/sock.h
@@ -1,3 +1,6 @@
+#include <errno.h>
+#include <fcntl.h>
+
#ifndef _WIN32
#include <unistd.h>
#include <sys/socket.h>