summaryrefslogtreecommitdiff
path: root/src/include/libpq/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/libpq/crypt.h')
-rw-r--r--src/include/libpq/crypt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/libpq/crypt.h b/src/include/libpq/crypt.h
index 928ff86a9c4..77d4fb7d03b 100644
--- a/src/include/libpq/crypt.h
+++ b/src/include/libpq/crypt.h
@@ -9,7 +9,7 @@
#ifndef PG_CRYPT_H
#define PG_CRYPT_H
-#include <libpq/pqcomm.h>
+#include <libpq/libpq-be.h>
#define CRYPT_PWD_FILE "pg_pwd"
#define CRYPT_PWD_FILE_SEPCHAR "'\\t'"
@@ -21,7 +21,9 @@ extern int pwd_cache_count;
extern char* crypt_getpwdfilename(void);
extern char* crypt_getpwdreloadfilename(void);
+#ifdef 0
extern MsgType crypt_salt(const char* user);
+#endif
extern int crypt_verify(Port* port, const char* user, const char* pgpass);
#endif