diff --git a/contrib/chkpass/chkpass.c b/contrib/chkpass/chkpass.c index 7dfa95082a167c512f3465d4eaa3de37d204db7f..b2e041f5ba869e318a210988ba65d46da258080e 100644 --- a/contrib/chkpass/chkpass.c +++ b/contrib/chkpass/chkpass.c @@ -4,17 +4,21 @@ * darcy@druid.net * http://www.druid.net/darcy/ * - * $Id: chkpass.c,v 1.6 2001/11/05 17:46:22 momjian Exp $ + * $Id: chkpass.c,v 1.7 2001/12/19 18:49:24 petere Exp $ * best viewed with tabs set to 4 */ +#include "postgres.h" + #include <stdio.h> #include <string.h> #include <time.h> #include <unistd.h> +#ifdef HAVE_CRYPT_H +#include <crypt.h> +#endif -#include <postgres.h> -#include <fmgr.h> +#include "fmgr.h" /* * This type encrypts it's input unless the first character is a colon.