From: Daniel Stenberg Date: Tue, 11 Dec 2001 15:08:27 +0000 (+0000) Subject: solaris 2.5.1 needs the sys/types.h file before the sys/socket.h X-Git-Tag: curl-7_9_3-pre1~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c67f2da283c8cb8dc3cd7c783c73ef0ff8726215;p=thirdparty%2Fcurl.git solaris 2.5.1 needs the sys/types.h file before the sys/socket.h --- diff --git a/lib/sendf.c b/lib/sendf.c index ae4ce67376..ad144edd88 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -26,6 +26,9 @@ #include #include #include +#ifdef HAVE_SYS_TYPES_H +#include +#endif #ifdef HAVE_SYS_SOCKET_H #include /* required for send() & recv() prototypes */