mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Check for and set HAVE_CRYPT_H if <crypt.h> exists
include crypt.h in password.c if crypt.h does exist
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
#include <libpq/libpq.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_CRYPT
|
||||
# include <crypt.h>
|
||||
#endif
|
||||
|
||||
int
|
||||
verify_password(char *user, char *password, Port *port,
|
||||
|
Reference in New Issue
Block a user