From c67f2da283c8cb8dc3cd7c783c73ef0ff8726215 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Dec 2001 15:08:27 +0000 Subject: [PATCH] solaris 2.5.1 needs the sys/types.h file before the sys/socket.h --- lib/sendf.c | 3 +++ 1 file changed, 3 insertions(+) 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 */