diff options
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 9a73d2d307..a67713c30d 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -221,8 +221,13 @@ typedef unsigned char u_int8_t; #endif /* !__GNUC__ || VTYSH_EXTRACT_PL */ #include "zassert.h" -#include "str.h" +#ifndef HAVE_STRLCAT +size_t strlcat (char *__restrict dest, const char *__restrict src, size_t size); +#endif +#ifndef HAVE_STRLCPY +size_t strlcpy (char *__restrict dest, const char *__restrict src, size_t size); +#endif #ifdef HAVE_BROKEN_CMSG_FIRSTHDR /* This bug is present in Solaris 8 and pre-patch Solaris 9 <sys/socket.h>; |
