mirror of
https://github.com/curl/curl.git
synced 2026-04-15 07:01:44 +03: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue