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: pre-host-cache~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c67f2da283c8cb8dc3cd7c783c73ef0ff8726215;p=curl 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 ae4ce6737..ad144edd8 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 */