summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-08-02 17:46:39 -0400
committerTim Kientzle <kientzle@gmail.com>2009-08-02 17:46:39 -0400
commite4c04edb68c34124f610e671087ec3beaa5f3c3c (patch)
tree001c1bd04b479b43ed614f6fcd491b8e518b938a
parent3f82b7f4e58285fdc9a2ca64050505f946dac145 (diff)
downloadlibarchive-e4c04edb68c34124f610e671087ec3beaa5f3c3c.tar.gz
Minor FreeBSD build fixes.
SVN-Revision: 1316
-rw-r--r--cpio/config_freebsd.h2
-rw-r--r--cpio/test/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/cpio/config_freebsd.h b/cpio/config_freebsd.h
index f676cf2c..11d5b6da 100644
--- a/cpio/config_freebsd.h
+++ b/cpio/config_freebsd.h
@@ -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
diff --git a/cpio/test/Makefile b/cpio/test/Makefile
index 5d09b97b..f0bc4344 100644
--- a/cpio/test/Makefile
+++ b/cpio/test/Makefile
@@ -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 \