From e23e8101db44d84da1b95c532b6826548a1cf4de Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 4 Dec 2012 23:47:20 +0100 Subject: [PATCH] Fix build issue with last gnulib version. --- src/ChangeLog | 8 ++++++++ src/metalink.c | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ffeed9ed..604c6c50 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2012-12-04 Giuseppe Scrivano + + * metalink.c: Include "wget.h" as first file. + +2012-12-02 Domenico Chierico + + * Makefile.am (LDADD): Remove $(LIBS). + 2012-12-02 Giuseppe Scrivano * recur.c (retrieve_tree): New variable `next_i'. diff --git a/src/metalink.c b/src/metalink.c index ad238eca..abe370e2 100644 --- a/src/metalink.c +++ b/src/metalink.c @@ -28,14 +28,14 @@ Corresponding Source for a non-source form of such a combination shall include the source code for the parts of OpenSSL used as well as that of the covered work. */ +#include "wget.h" + #include #include #include #include #include -#include "wget.h" - #include "log.h" #include "md5.h" #include "sha1.h" @@ -43,6 +43,7 @@ as that of the covered work. */ #include "metalink.h" #include "utils.h" + #define HASH_TYPES 3 /* Between MD5, SHA1 and SHA256, SHA256 has the greatest hash length, which is 32. In the line below, 64 is written to have a more readable code. */