diff --git a/lib/url.c b/lib/url.c
index 89f316530a8ce5fe92b17185ffea0bd0a1775e90..ee13f08a67343e117b33ca038fc5c8921ed0e41b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -107,6 +107,7 @@
 #include "strtok.h"
 #include "share.h"
 #include "content_encoding.h"
+#include "http_digest.h"
 
 /* And now for the protocols */
 #include "ftp.h"