aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c3
-rw-r--r--lib/ssluse.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 0dd699432..c15c2026a 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -25,6 +25,9 @@
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 64465deb1..cee6ee0f5 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -30,6 +30,9 @@
#include <string.h>
#include <stdlib.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif