]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Minor FreeBSD build fixes.
authorTim Kientzle <kientzle@gmail.com>
Sun, 2 Aug 2009 21:46:39 +0000 (17:46 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 2 Aug 2009 21:46:39 +0000 (17:46 -0400)
SVN-Revision: 1316

cpio/config_freebsd.h
cpio/test/Makefile

index f676cf2c9ec51e688a3efb11f1234f79b3b85ad2..11d5b6da9ceab039fb2fe68eee512c16a176bc1c 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <sys/param.h>  /* __FreeBSD_version */
 
+#define        HAVE_DIRENT_H 1
 #define        HAVE_ERRNO_H 1
 #define        HAVE_FCNTL_H 1
 #define        HAVE_FUTIMES 1
@@ -39,7 +40,6 @@
 #define        HAVE_STDARG_H 1
 #define        HAVE_STDLIB_H 1
 #define        HAVE_STRING_H 1
-#undef HAVE_SYS_MKDEV_H
 #define        HAVE_SYS_STAT_H 1
 #define        HAVE_SYS_TIME_H 1
 #define        HAVE_TIME_H 1
index 5d09b97b9206b26a1b60ab110c4ba4bb9d18f6b1..f0bc4344f4e104e49717cce45dad252fb6bca856 100644 (file)
@@ -10,6 +10,7 @@ CPIO_SRCS= cmdline.c err.c pathmatch.c
 TESTS= \
        test_0.c                                \
        test_basic.c                            \
+       test_cmdline.c                          \
        test_format_newc.c                      \
        test_gcpio_compat.c                     \
        test_option_B_upper.c                   \