mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
solaris 2.5.1 needs the sys/types.h file before the sys/socket.h
This commit is contained in:
parent
e192261788
commit
c67f2da283
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user