aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index e26e47503..3f3852497 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -172,6 +172,8 @@ static void conn_free(struct connectdata *conn);
#ifdef HAVE_SIGSETJMP
extern sigjmp_buf curl_jmpenv;
#endif
+
+#ifdef SIGALARM
static
RETSIGTYPE alarmfunc(int sig)
{
@@ -183,6 +185,7 @@ RETSIGTYPE alarmfunc(int sig)
return;
}
#endif
+#endif /* SIGALRM */
#endif /* USE_ARES */
void Curl_safefree(void *ptr)