summaryrefslogtreecommitdiff
path: root/src/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2024-02-04 18:39:19 +0900
committerRyo Nakamura <upa@haeena.net>2024-02-04 20:23:08 +0900
commitc95e6a4fffe935330b4018e49f95fff5ad2cc551 (patch)
tree0620e4e817fa2c381f42f7d2ec4234061c0f07c1 /src/openbsd-compat/openbsd-compat.h
parent304e71d5a0420c5293d233add7408a21c173ddfd (diff)
do not passing msg_fp via mscp opts
instead, mpr_* functions print messages to stdout or stderr directly.
Diffstat (limited to 'src/openbsd-compat/openbsd-compat.h')
-rw-r--r--src/openbsd-compat/openbsd-compat.h10
1 files changed, 10 insertions, 0 deletions
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_ */