]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Use implicit <md5.h> from overlay instead explicit <bsd/md5.h>
authorGuillem Jover <guillem@hadrons.org>
Tue, 29 May 2012 05:17:46 +0000 (07:17 +0200)
committerGuillem Jover <guillem@hadrons.org>
Tue, 29 May 2012 05:31:06 +0000 (07:31 +0200)
This was assuming an installed <bsd/md5.h> on the system, due to the
build system not including -Iinclude/ anymore.

Regression introduced in commit 901ed630fc64fca828e031bc8fa6780db9f05db1.

src/Makefile.am
src/hash/md5.c

index 61d711919624caef5cd42ba540cf85cef7e1d4c2..d0f07e09c7c9f0afb7d4f07b3a22460182841a92 100644 (file)
@@ -31,7 +31,7 @@ lib_LTLIBRARIES = libbsd.la
 
 hash/md5hl.c: $(srcdir)/hash/helper.c
        $(MKDIR_P) hash
-       $(AM_V_GEN) sed -e 's:hashinc:bsd/md5.h:g' -e 's:HASH:MD5:g' $< > $@
+       $(AM_V_GEN) sed -e 's:hashinc:md5.h:g' -e 's:HASH:MD5:g' $< > $@
 
 libbsd_la_DEPENDENCIES = \
        libbsd.map
index 697183bac2630792fba809675cc214899cc06e77..e60bbd904de3b17a53240617f0e8632b0dab3978 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <sys/types.h>
 #include <string.h>
-#include <bsd/md5.h>
+#include <md5.h>
 
 #define PUT_64BIT_LE(cp, value) do {                                   \
        (cp)[7] = (value) >> 56;                                        \