From 4b25776d855fec003f993aee30102b0c032e0f01 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 29 Sep 1996 01:56:57 +0000 Subject: [PATCH] +strnlen git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@795 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 4 ++++ lib/roken/roken.h.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 7e452591a..1d72b7641 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -30,6 +30,10 @@ char *getusershell(void); char * strdup(const char *old); #endif +#ifndef HAVE_STRNLEN +int strnlen(char*, int); +#endif + #ifndef HAVE_GETDTABLESIZE int getdtablesize(void); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 7e452591a..1d72b7641 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -30,6 +30,10 @@ char *getusershell(void); char * strdup(const char *old); #endif +#ifndef HAVE_STRNLEN +int strnlen(char*, int); +#endif + #ifndef HAVE_GETDTABLESIZE int getdtablesize(void); #endif