Commit c67f2da2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

solaris 2.5.1 needs the sys/types.h file before the sys/socket.h

parent e1922617
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>	/* required for send() & recv() prototypes */