summaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/connect.h b/lib/connect.h
index 299233d4f..052549368 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -21,6 +21,7 @@
* KIND, either express or implied.
*
***************************************************************************/
+#include "setup.h"
#include "nonblock.h" /* for curlx_nonblock(), formerly Curl_nonblock() */
@@ -64,7 +65,7 @@ curl_socket_t Curl_getconnectinfo(struct SessionHandle *data,
*/
void Curl_sndbufset(curl_socket_t sockfd);
#else
-#define Curl_sndbufset(y)
+#define Curl_sndbufset(y) Curl_nop_stmt
#endif
void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd);