Skip to content

Commit f9d87c6

Browse files
committed
Fix warning
1 parent 14e1270 commit f9d87c6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

contrib/chkpass/chkpass.c

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,21 @@
44
* darcy@druid.net
55
* http://www.druid.net/darcy/
66
*
7-
* $Id: chkpass.c,v 1.6 2001/11/05 17:46:22 momjian Exp $
7+
* $Id: chkpass.c,v 1.7 2001/12/19 18:49:24 petere Exp $
88
* best viewed with tabs set to 4
99
*/
1010

11+
#include "postgres.h"
12+
1113
#include <stdio.h>
1214
#include <string.h>
1315
#include <time.h>
1416
#include <unistd.h>
17+
#ifdef HAVE_CRYPT_H
18+
#include <crypt.h>
19+
#endif
1520

16-
#include <postgres.h>
17-
#include <fmgr.h>
21+
#include "fmgr.h"
1822

1923
/*
2024
* This type encrypts it's input unless the first character is a colon.

0 commit comments

Comments
 (0)