summaryrefslogtreecommitdiffstats
path: root/lib/libspl/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-06-29 15:03:36 -0700
committerBrian Behlendorf <[email protected]>2011-07-01 13:39:47 -0700
commitf2cfee80e3f94cd9d67c3f1abec97c9a5a5ecc17 (patch)
tree78321585f0cf5ff329f0308739469f76360a2f48 /lib/libspl/include
parenta89c3e0bd509267225b5699c65aaf39acf2fce18 (diff)
Fix implicit declaration of 'mkdirp'
The lib/libspl/include/libgen.h header file was being mistakenly left out of the 'make dist' tarball. It just happens this doesn't cause a build failure when creating packages because the system libgen/h is included instead. This simply results in the following warning due to the missing forward declaration of mkdirp(). ../../lib/libzfs/libzfs_mount.c:417:3: warning: implicit declaration of function 'mkdirp' [-Wimplicit-function-declaration]
Diffstat (limited to 'lib/libspl/include')
-rw-r--r--lib/libspl/include/Makefile.am1
-rw-r--r--lib/libspl/include/Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libspl/include/Makefile.am b/lib/libspl/include/Makefile.am
index c1cbb0138..626a8f46b 100644
--- a/lib/libspl/include/Makefile.am
+++ b/lib/libspl/include/Makefile.am
@@ -7,6 +7,7 @@ libspl_HEADERS = \
$(top_srcdir)/lib/libspl/include/attr.h \
$(top_srcdir)/lib/libspl/include/devid.h \
$(top_srcdir)/lib/libspl/include/libdevinfo.h \
+ $(top_srcdir)/lib/libspl/include/libgen.h \
$(top_srcdir)/lib/libspl/include/libshare.h \
$(top_srcdir)/lib/libspl/include/limits.h \
$(top_srcdir)/lib/libspl/include/locale.h \
diff --git a/lib/libspl/include/Makefile.in b/lib/libspl/include/Makefile.in
index 5708683ff..ae9616f78 100644
--- a/lib/libspl/include/Makefile.in
+++ b/lib/libspl/include/Makefile.in
@@ -334,6 +334,7 @@ libspl_HEADERS = \
$(top_srcdir)/lib/libspl/include/attr.h \
$(top_srcdir)/lib/libspl/include/devid.h \
$(top_srcdir)/lib/libspl/include/libdevinfo.h \
+ $(top_srcdir)/lib/libspl/include/libgen.h \
$(top_srcdir)/lib/libspl/include/libshare.h \
$(top_srcdir)/lib/libspl/include/limits.h \
$(top_srcdir)/lib/libspl/include/locale.h \