2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* 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.
diff --git a/lib/zebra.h b/lib/zebra.h
index d9c28b0..7d907ed 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -228,6 +228,7 @@
#endif /* !__GNUC__ || VTYSH_EXTRACT_PL */
#include "zassert.h"
+#include "str.h"
#ifdef HAVE_BROKEN_CMSG_FIRSTHDR