aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-13 21:41:02 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-13 21:41:02 +0000
commitafffce80f0f7bd5faf55b88bbe335b080f2df664 (patch)
tree4f0326ca6d7522432153a25f8c0807efe274026e /lib
parent70b80b01604f40984b45301132c0302c460d4411 (diff)
Philippe Raoult needed this to build on FreeBSD
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