From 6d78e69193c47a32e5c2074e002f9360bd8ebb7e Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 12 Dec 2008 10:10:16 -0800 Subject: [PATCH] Add missing include patch --- config/Rules.am | 2 +- lib/libzcommon/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/Rules.am b/config/Rules.am index 5b2b31311f..ec1443c810 100644 --- a/config/Rules.am +++ b/config/Rules.am @@ -1,6 +1,6 @@ # Default build options AM_FLAGS = -ggdb -O2 -std=c99 -AM_FLAGS += -Wall -Wstrict-prototypes -Wshadow +AM_FLAGS += -Wall -Wstrict-prototypes -Wshadow -Werror # FIXME: Quiet warnings not covered by the gcc-* patches. We should # FIXME: consider removing this as soon as we reasonably can. diff --git a/lib/libzcommon/Makefile.am b/lib/libzcommon/Makefile.am index 8b667fbdea..72a8f3a70f 100644 --- a/lib/libzcommon/Makefile.am +++ b/lib/libzcommon/Makefile.am @@ -2,6 +2,7 @@ include $(top_srcdir)/config/Rules.am DEFAULT_INCLUDES = \ -I${top_srcdir}/module/zcommon/include \ + -I${top_srcdir}/module/nvpair/include \ -I${top_srcdir}/lib/libspl/include lib_LTLIBRARIES = libzcommon.la