aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 840eefeb7..cd79866c7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -76,6 +76,10 @@
#endif /* WIN32 */
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
#ifdef USE_LIBIDN
#include <idna.h>
#include <tld.h>