]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix import v6.4.2
authorRoy Marples <roy@marples.name>
Mon, 14 Jul 2014 13:58:24 +0000 (13:58 +0000)
committerRoy Marples <roy@marples.name>
Mon, 14 Jul 2014 13:58:24 +0000 (13:58 +0000)
Makefile
crypt/hmac_md5.c

index 2eb46b2b5b00e93d3cb4443e461f0fb8498f39fe..bd4b95504d14259b875ea662a2eb764b35701aef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -164,7 +164,8 @@ import: ${SRCS}
                        /tmp/${DISTPREFIX}/crypt; \
                cp $$(cd crypt && ${CC} ${CPPFLAGS} -MM ${CRYPT_SRCS} | \
                        sed -e 's/^.*c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \
-                       tr ' ' '\n' | sed -e 's:^:crypt/:g' | \
+                       tr ' ' '\n' | sed -e '/config.h/d' \
+                       -e 's:^:crypt/:g' | \
                        sort -u) /tmp/${DISTPREFIX}/crypt; \
        fi;
        if test -n "${COMPAT_SRCS}"; then \
index 6b780671266ec0018019d1886f4bfd185804eb32..0de0ae1a7eec5ef8db6226b9dd35f69bed901b29 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "crypt.h"
 
+#include "../config.h"
 #ifdef HAVE_MD5_H
 #include <md5.h>
 #else