projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e192261
)
solaris 2.5.1 needs the sys/types.h file before the sys/socket.h
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 11 Dec 2001 15:08:27 +0000
(15:08 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 11 Dec 2001 15:08:27 +0000
(15:08 +0000)
lib/sendf.c
patch
|
blob
|
history
diff --git
a/lib/sendf.c
b/lib/sendf.c
index
ae4ce67
..
ad144ed
100644
(file)
--- 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 */