aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-12-04 13:03:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-12-04 13:03:08 +0000
commit436d1479256117f21740dbd1ed4eb0c136c15de9 (patch)
tree8950ebf7265db50952dfd1a38c0b0f2a0c4289c7 /lib/sendf.c
parent4bd78a7df40e1ff3500c94303458b374b14aa7d2 (diff)
Eric's #include fixes for better macos compiles
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index fd58220d9..2a0aa78c3 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -27,6 +27,10 @@
#include <stdarg.h>
#include <stdlib.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h> /* required for send() & recv() prototypes */
+#endif
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif