--- embedaddon/sudo/compat/strlcat.c 2012/02/21 16:23:02 1.1 +++ embedaddon/sudo/compat/strlcat.c 2013/07/22 10:46:11 1.1.1.2 @@ -1,7 +1,7 @@ /* $OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $ */ /* - * Copyright (c) 1998, 2003-2005, 2010-2011 + * Copyright (c) 1998, 2003-2005, 2010-2011, 2013 * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any @@ -19,6 +19,8 @@ #include +#ifndef HAVE_STRLCAT + #include #include @@ -58,3 +60,4 @@ strlcat(char *dst, const char *src, size_t siz) return dlen + (s - src); /* count does not include NUL */ } +#endif /* HAVE_STRLCAT */