From c95e6a4fffe935330b4018e49f95fff5ad2cc551 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sun, 4 Feb 2024 18:39:19 +0900 Subject: do not passing msg_fp via mscp opts instead, mpr_* functions print messages to stdout or stderr directly. --- src/openbsd-compat/openbsd-compat.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/openbsd-compat/openbsd-compat.h (limited to 'src/openbsd-compat/openbsd-compat.h') diff --git a/src/openbsd-compat/openbsd-compat.h b/src/openbsd-compat/openbsd-compat.h new file mode 100644 index 0000000..33c0288 --- /dev/null +++ b/src/openbsd-compat/openbsd-compat.h @@ -0,0 +1,10 @@ +#ifndef _OPENBSD_COMPAT_H +#define _OPENBSD_COMPAT_H + +#include "config.h" + +#ifndef HAVE_STRLCAT +size_t strlcat(char *dst, const char *src, size_t siz); +#endif + +#endif /* _OPENBSD_COMPAT_H_ */ -- cgit v1.2.3