1
0
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:
Daniel Stenberg 2001-12-11 15:08:27 +00:00
parent e192261788
commit c67f2da283

View File

@ -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 */