--- embedaddon/sudo/compat/strlcpy.c 2012/02/21 16:23:02 1.1.1.1 +++ embedaddon/sudo/compat/strlcpy.c 2013/07/22 10:46:11 1.1.1.2 @@ -1,7 +1,7 @@ /* $OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 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_STRLCPY + #include #include "missing.h" @@ -53,3 +55,4 @@ strlcpy(char *dst, const char *src, size_t siz) return s - src - 1; /* count does not include NUL */ } +#endif /* HAVE_STRLCPY */