diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-12-11 15:08:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-12-11 15:08:27 +0000 |
commit | c67f2da283c8cb8dc3cd7c783c73ef0ff8726215 (patch) | |
tree | 6b1502debad7e2d3cf7072a70865e9571b1f0448 /lib | |
parent | e1922617883d5a70a282ed0e9e756a27eeed6bba (diff) |
solaris 2.5.1 needs the sys/types.h file before the sys/socket.h
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sendf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index ae4ce6737..ad144edd8 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -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 */ |