Index: src/bin/psql/prompt.c =================================================================== RCS file: /home/projects/pgsql/cvsroot/pgsql/src/bin/psql/prompt.c,v retrieving revision 1.19 diff -c -r1.19 prompt.c *** src/bin/psql/prompt.c 2001/05/06 17:21:11 1.19 --- src/bin/psql/prompt.c 2001/08/24 16:55:13 *************** *** 129,134 **** --- 129,135 ---- if (*p == 'm') buf[strcspn(buf, ".")] = '\0'; } + #ifndef HAVE_UNIX_SOCKETS /* UNIX socket */ else { *************** *** 139,144 **** --- 140,146 ---- else snprintf(buf, MAX_PROMPT_SIZE, "[local:%s]", host); } + #endif } break; /* DB server port number */ Index: src/include/libpq/hba.h =================================================================== RCS file: /home/projects/pgsql/cvsroot/pgsql/src/include/libpq/hba.h,v retrieving revision 1.24 diff -c -r1.24 hba.h *** src/include/libpq/hba.h 2001/08/16 16:24:16 1.24 --- src/include/libpq/hba.h 2001/08/24 16:55:13 *************** *** 11,17 **** --- 11,19 ---- #ifndef HBA_H #define HBA_H + #ifndef WIN32 #include + #endif #define CONF_FILE "pg_hba.conf" /* Name of the config file */