]> granicus.if.org Git - curl/commitdiff
Philippe Raoult needed this to build on FreeBSD
authorDaniel Stenberg <daniel@haxx.se>
Thu, 13 Mar 2003 21:41:02 +0000 (21:41 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Mar 2003 21:41:02 +0000 (21:41 +0000)
lib/multi.c
lib/ssluse.c

index 0dd6994324337da33bafcc5a6c16ce44bda7730d..c15c2026af372785514103f20c4319dd777f1b81 100644 (file)
@@ -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
index 64465deb1e2d84229de8983f15930603c0f6e8ad..cee6ee0f5b974b2000acae255440fcc721b319e4 100644 (file)
@@ -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