summaryrefslogtreecommitdiffstats
path: root/libexec/lukemftpd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/lukemftpd')
-rw-r--r--libexec/lukemftpd/nbsd2fbsd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/lukemftpd/nbsd2fbsd.h b/libexec/lukemftpd/nbsd2fbsd.h
index 49c546b..d060af6 100644
--- a/libexec/lukemftpd/nbsd2fbsd.h
+++ b/libexec/lukemftpd/nbsd2fbsd.h
@@ -15,3 +15,10 @@ typedef __size_t size_t;
#endif
long long strsuftollx(const char *, const char *,
long long, long long, char *, size_t);
+
+/*
+ * IEEE Std 1003.1c-95, adopted in X/Open CAE Specification Issue 5 Version 2
+ */
+#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE >= 500
+#define LOGIN_NAME_MAX MAXLOGNAME /* max login name length (incl. NUL) */
+#endif
OpenPOWER on IntegriCloud