mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-24 19:53:24 +08:00
2f6a0ad191
- Cleanup of auth-pam.c, save and print "account expired" error messages
19 lines
447 B
C
19 lines
447 B
C
#ifndef _FAKE_GETNAMEINFO_H
|
|
#define _FAKE_GETNAMEINFO_H
|
|
|
|
#include "config.h"
|
|
|
|
#ifndef HAVE_GETNAMEINFO
|
|
int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
|
|
size_t hostlen, char *serv, size_t servlen, int flags);
|
|
#endif /* !HAVE_GETNAMEINFO */
|
|
|
|
#ifndef NI_MAXSERV
|
|
# define NI_MAXSERV 32
|
|
#endif /* !NI_MAXSERV */
|
|
#ifndef NI_MAXHOST
|
|
# define NI_MAXHOST 1025
|
|
#endif /* !NI_MAXHOST */
|
|
|
|
#endif /* _FAKE_GETNAMEINFO_H */
|