From 9fbc572a598d76223ffb8a82555c3f74e1a4495a Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 12 Dec 2008 10:57:05 -0800 Subject: [PATCH] Refine Makefiles --- config/Rules.am | 5 ++--- lib/libzcommon/Makefile.am | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/Rules.am b/config/Rules.am index ecf6c97871..0c5e9f203f 100644 --- a/config/Rules.am +++ b/config/Rules.am @@ -6,7 +6,6 @@ AM_CFLAGS += -Wno-unknown-pragmas -Wno-parentheses AM_CFLAGS += -Wno-uninitialized -fno-strict-aliasing # Expected defines not covered by zfs_config.h or spl_config.h -AM_CFLAGS += -D_GNU_SOURCE -D__EXTENSIONS__ +AM_CFLAGS += -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT AM_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64 -AM_CFLAGS += -D_LARGEFILE64_SOURCE -D_REENTRANT -AM_CFLAGS += -DTEXT_DOMAIN=\\\"zfs-linux-user\\\" +AM_CFLAGS += -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\" diff --git a/lib/libzcommon/Makefile.am b/lib/libzcommon/Makefile.am index 97f0b36e74..1c0f910b3f 100644 --- a/lib/libzcommon/Makefile.am +++ b/lib/libzcommon/Makefile.am @@ -5,6 +5,7 @@ DEFAULT_INCLUDES = \ -I${top_srcdir}/lib/libspl/include \ -I${top_srcdir}/lib/libnvpair/include \ -I${top_srcdir}/module/nvpair/include \ + -I${top_srcdir}/module/avl/include \ -I${top_srcdir}/module/zfs/include lib_LTLIBRARIES = libzcommon.la