1/* $FreeBSD$ */
2
3/* XXX: Depend on our system headers protecting against multiple includes. */
4#include <paths.h>
5#undef _PATH_FTPUSERS
6
7#include <pwd.h>
8
9#define _DIAGASSERT(x)
10
11#include <sys/_types.h>
12#ifndef _SIZE_T_DECLARED
13typedef	__size_t	size_t;
14#define	_SIZE_T_DECLARED
15#endif
16long long strsuftollx(const char *, const char *,
17    long long, long long, char *, size_t);
18
19/*
20 * IEEE Std 1003.1c-95, adopted in X/Open CAE Specification Issue 5 Version 2
21 */
22#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE >= 500
23#define	LOGIN_NAME_MAX	MAXLOGNAME	/* max login name length (incl. NUL) */
24#endif
25
26/* NetBSD pwd.h */
27#define	_PASSWORD_CHGNOW	-1	/* special day to force password
28					 * change at next login */
29
30/* Need this for some LOGIN_CAP functionality NetBSD has doesn't have
31   the infastructure for. */
32#define	notyet
33/* Need this for some USE_PAM functionality NetBSD has doesn't have
34   the infastructure for. */
35#define	notdef
36