From 3cb98dee9067372756964f461eb2c931a1c75138 Mon Sep 17 00:00:00 2001 From: ajs Date: Sat, 2 Apr 2005 16:01:05 +0000 Subject: 2005-04-02 Andrew J. Schorr * configure.ac: Add strnlen to AC_CHECK_FUNCS. * zebra.h: Should include str.h to pick up missing functions. * str.h: Declare strnlen if needed. * str.c: Do not include str.h since zebra.h now includes it. (strnlen) New function. --- lib/zebra.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/zebra.h') diff --git a/lib/zebra.h b/lib/zebra.h index d9c28b01..7d907ed7 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -228,6 +228,7 @@ typedef int socklen_t; #endif /* !__GNUC__ || VTYSH_EXTRACT_PL */ #include "zassert.h" +#include "str.h" #ifdef HAVE_BROKEN_CMSG_FIRSTHDR -- cgit v1.2.1