From 8437e3606b558c8073a9bffff39e7dd29efe8ced Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 26 May 2015 14:01:37 -0600 Subject: [PATCH] Add missing sudo_ prefix and include sudo_compat.h. --- lib/util/strnlen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/util/strnlen.c b/lib/util/strnlen.c index 1502ad0f5..20ffb3f2b 100644 --- a/lib/util/strnlen.c +++ b/lib/util/strnlen.c @@ -22,8 +22,10 @@ #include +#include "sudo_compat.h" + size_t -strnlen(const char *str, size_t maxlen) +sudo_strnlen(const char *str, size_t maxlen) { const char *cp; -- 2.40.0