File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
*
4
4
* Copyright 2000 by PostgreSQL Global Development Group
5
5
*
6
- * $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.19 2001/05/06 17:21:11 petere Exp $
6
+ * $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.20 2001/08/24 16:59:10 momjian Exp $
7
7
*/
8
8
#include "postgres_fe.h"
9
9
#include "prompt.h"
@@ -129,6 +129,7 @@ get_prompt(promptStatus_t status)
129
129
if (* p == 'm' )
130
130
buf [strcspn (buf , "." )] = '\0' ;
131
131
}
132
+ #ifndef HAVE_UNIX_SOCKETS
132
133
/* UNIX socket */
133
134
else
134
135
{
@@ -139,6 +140,7 @@ get_prompt(promptStatus_t status)
139
140
else
140
141
snprintf (buf , MAX_PROMPT_SIZE , "[local:%s]" , host );
141
142
}
143
+ #endif
142
144
}
143
145
break ;
144
146
/* DB server port number */
Original file line number Diff line number Diff line change 4
4
* Interface to hba.c
5
5
*
6
6
*
7
- * $Id: hba.h,v 1.24 2001/08/16 16:24:16 momjian Exp $
7
+ * $Id: hba.h,v 1.25 2001/08/24 16:59:10 momjian Exp $
8
8
*
9
9
*-------------------------------------------------------------------------
10
10
*/
11
11
#ifndef HBA_H
12
12
#define HBA_H
13
13
14
+ #ifndef WIN32
14
15
#include <netinet/in.h>
16
+ #endif
15
17
16
18
#define CONF_FILE "pg_hba.conf"
17
19
/* Name of the config file */
You can’t perform that action at this time.
0 commit comments