aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 15:47:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 15:47:01 +0000
commit38c994a7aec3280b42c26c626030ee6441554608 (patch)
treea8eae33db6a2bbc7f65680e8cf1c77c3203568d9 /lib
parent85e2e96fb69e34c65bff3230fb27178180fde73d (diff)
put #ifdefs around the sigjmp_buf declaration too, as it should be
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 0c47b2e0f..dcd0065a4 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -143,7 +143,9 @@ static unsigned int ConnectionStore(struct SessionHandle *data,
#ifndef RETSIGTYPE
#define RETSIGTYPE void
#endif
+#ifdef HAVE_SIGSETJMP
extern sigjmp_buf curl_jmpenv;
+#endif
static
RETSIGTYPE alarmfunc(int signal)
{