From f2cfee80e3f94cd9d67c3f1abec97c9a5a5ecc17 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 29 Jun 2011 15:03:36 -0700 Subject: [PATCH] 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] --- lib/libspl/include/Makefile.am | 1 + lib/libspl/include/Makefile.in | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/libspl/include/Makefile.am b/lib/libspl/include/Makefile.am index c1cbb0138ee2..626a8f46b001 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 5708683ff54c..ae9616f785a7 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 \