summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-06-25 05:05:10 +0000
committersjg <sjg@FreeBSD.org>2013-06-25 05:05:10 +0000
commit72ab90509b3a51ab361bf710338f2ef44a4e360d (patch)
tree50a8bd2d89ac67f011fec82686c53d8088188c8f
parent4576f811af2e29a3d26303821605c6e5479feb6d (diff)
downloadFreeBSD-src-72ab90509b3a51ab361bf710338f2ef44a4e360d.zip
FreeBSD-src-72ab90509b3a51ab361bf710338f2ef44a4e360d.tar.gz
Fix building of crypt_tests
-rw-r--r--lib/libcrypt/tests/Makefile.depend19
-rw-r--r--lib/libcrypt/tests/crypt_tests.c3
2 files changed, 20 insertions, 2 deletions
diff --git a/lib/libcrypt/tests/Makefile.depend b/lib/libcrypt/tests/Makefile.depend
new file mode 100644
index 0000000..cef7a1f
--- /dev/null
+++ b/lib/libcrypt/tests/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/atf/libatf-c \
+ lib/libc \
+ lib/libcompiler_rt \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/lib/libcrypt/tests/crypt_tests.c b/lib/libcrypt/tests/crypt_tests.c
index 3331d12..d0db8ab 100644
--- a/lib/libcrypt/tests/crypt_tests.c
+++ b/lib/libcrypt/tests/crypt_tests.c
@@ -2,10 +2,9 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
-#include <crypt.h>
#include <unistd.h>
-#include <atf-c.h>
+#include <atf-c/atf-c.h>
#define LEET "0.s0.l33t"
OpenPOWER on IntegriCloud