On Windows strndup is missing.
---
plugins/memory/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plugins/memory/Makefile.am b/plugins/memory/Makefile.am
index 2270e6fe..4d96b1e7 100644
--- a/plugins/memory/Makefile.am
+++ b/plugins/memory/Makefile.am
@@ -43,6 +43,7 @@ nbdkit_memory_plugin_la_SOURCES = \
nbdkit_memory_plugin_la_CPPFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/common/allocators \
+ -I$(top_srcdir)/common/replacements \
-I$(top_srcdir)/common/utils \
$(NULL)
nbdkit_memory_plugin_la_CFLAGS = $(WARNINGS_CFLAGS)
@@ -52,6 +53,7 @@ nbdkit_memory_plugin_la_LDFLAGS = \
$(NULL)
nbdkit_memory_plugin_la_LIBADD = \
$(top_builddir)/common/allocators/liballocators.la \
+ $(top_builddir)/common/replacements/libcompat.la \
$(top_builddir)/common/utils/libutils.la \
$(LINK_LIBNBDKIT_ON_WINDOWS) \
$(NULL)
--
2.27.0