From f9d87c66db993788d74587e4163589894d5371bb Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Wed, 19 Dec 2001 18:49:24 +0000
Subject: [PATCH] Fix warning

---
 contrib/chkpass/chkpass.c | 10 +++++++---
 1 file 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.
-- 
GitLab