libfetch: Add ifdef checks for constants that might not be available
modified external/libfetch/ftp.c
@@ -803,10 +803,12 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/libfetch/http.c
@@ -325,9 +325,11 @@ http_closefn(void *v)
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1465,8 +1467,10 @@ http_connect(struct url *URL, struct url *purl, const char *flags, int *cached)
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -1768,9 +1772,11 @@ http_request_body(struct url *URL, const char *op, struct url_stat *us,
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|