From b79df1dc29c5ca3181be3e6e642f6c51e951e34e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 9 Mar 2017 15:43:08 +0000 Subject: Compat code for strndup and strnlen. --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8bfafd40..413bd590 100644 --- a/Makefile.am +++ b/Makefile.am @@ -228,6 +228,12 @@ endif if NO_STRLCPY nodist_tmux_SOURCES += compat/strlcpy.c endif +if NO_STRNLEN +nodist_tmux_SOURCES += compat/strnlen.c +endif +if NO_STRNDUP +nodist_tmux_SOURCES += compat/strndup.c +endif if NO_ASPRINTF nodist_tmux_SOURCES += compat/asprintf.c endif -- cgit