diff options
-rw-r--r-- | lib/multi.c | 3 | ||||
-rw-r--r-- | lib/share.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c index 78763b27f..3dfccd028 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -31,6 +31,9 @@ #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #include <curl/curl.h> diff --git a/lib/share.c b/lib/share.c index cd555a88f..df4d5ec14 100644 --- a/lib/share.c +++ b/lib/share.c @@ -24,6 +24,7 @@ #include "setup.h" #include <stdarg.h> #include <stdlib.h> +#include <string.h> #include <curl/curl.h> #include "urldata.h" #include "share.h" |