summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/lukemftpd/nbsd2fbsd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libexec/lukemftpd/nbsd2fbsd.h b/libexec/lukemftpd/nbsd2fbsd.h
index ca26de7..95bdb70 100644
--- a/libexec/lukemftpd/nbsd2fbsd.h
+++ b/libexec/lukemftpd/nbsd2fbsd.h
@@ -9,3 +9,11 @@
#define LOGIN_NAME_MAX MAXLOGNAME /* <sys/param.h> */
#define _DIAGASSERT(x)
+
+#include <sys/_types.h>
+#ifndef _SIZE_T_DECLARED
+typedef __size_t size_t;
+#define _SIZE_T_DECLARED
+#endif
+long long strsuftollx(const char *, const char *,
+ long long, long long, char *, size_t);
OpenPOWER on IntegriCloud