From 2793689cc2eda675ec11a3a0cfed5e470fa83ee3 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Tue, 20 Oct 2009 15:40:13 -0700 Subject: Add implementation of strnlen for systems without this function Signed-off-by: Yaakov Selkowitz Signed-off-by: Jeremy Huddleston --- xlsclients.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlsclients.c') diff --git a/xlsclients.c b/xlsclients.c index 049bc4c..2452352 100644 --- a/xlsclients.c +++ b/xlsclients.c @@ -37,6 +37,9 @@ in this Software without prior written authorization from The Open Group. #include #include #include +#ifndef HAVE_STRNLEN +#include "strnlen.h" +#endif static char *ProgramName; -- cgit v1.2.3