summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--crypt/hmac_md5.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2eb46b2b..bd4b9550 100644
--- 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 \
diff --git a/crypt/hmac_md5.c b/crypt/hmac_md5.c
index 6b780671..0de0ae1a 100644
--- a/crypt/hmac_md5.c
+++ b/crypt/hmac_md5.c
@@ -30,6 +30,7 @@
#include "crypt.h"
+#include "../config.h"
#ifdef HAVE_MD5_H
#include <md5.h>
#else