diff --git a/src/bin/psql/prompt.c b/src/bin/psql/prompt.c index 26592b3287..ef503ec41b 100644 --- a/src/bin/psql/prompt.c +++ b/src/bin/psql/prompt.c @@ -12,11 +12,6 @@ #include #endif -#ifdef HAVE_UNIX_SOCKETS -#include -#include -#endif - #include "common.h" #include "common/string.h" #include "input.h" @@ -147,7 +142,6 @@ get_prompt(promptStatus_t status, ConditionalStack cstack) if (*p == 'm') buf[strcspn(buf, ".")] = '\0'; } -#ifdef HAVE_UNIX_SOCKETS /* UNIX socket */ else { @@ -158,7 +152,6 @@ get_prompt(promptStatus_t status, ConditionalStack cstack) else snprintf(buf, sizeof(buf), "[local:%s]", host); } -#endif } break; /* DB server port number */