mirror of https://github.com/moparisthebest/curl
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 <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SOCKET_H
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
#include <sys/socket.h> /* required for send() & recv() prototypes */
|
#include <sys/socket.h> /* required for send() & recv() prototypes */
|
||||||
|
|
Loading…
Reference in New Issue