From fa635cfc925a95fe5c84569b043866dc3482ce90 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 31 Jan 2016 15:27:53 +0100 Subject: always add strlcpy, strlcat, remove COMPAT #ifdef The overhead for OpenBSD is minimal. I will periodically sync from OpenBSD libc. --- util.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util.h') diff --git a/util.h b/util.h index 2e55460..29ba1ef 100644 --- a/util.h +++ b/util.h @@ -1,4 +1,7 @@ -#include "compat.h" +#undef strlcat +size_t strlcat(char *, const char *, size_t); +#undef strlcpy +size_t strlcpy(char *, const char *, size_t); #define ISUTF8(c) (((c) & 0xc0) != 0x80) #define LEN(x) (sizeof (x) / sizeof *(x)) -- cgit v1.2.3