summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2001-12-19 18:49:24 +0000
committerPeter Eisentraut2001-12-19 18:49:24 +0000
commitf9d87c66db993788d74587e4163589894d5371bb (patch)
treec17eceeb1125136854b582cb18b36fdb1a3c2e21
parent14e12705796c44ee62a84c053d7199c55efe7d5f (diff)
Fix warning
-rw-r--r--contrib/chkpass/chkpass.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/chkpass/chkpass.c b/contrib/chkpass/chkpass.c
index 7dfa95082a1..b2e041f5ba8 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.