diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 19e1646f95f8846918378d613135f4772a04aecd..3575d69d4f50dae912546f9cb82c91158516268c 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.64 1998/02/01 19:43:46 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.65 1998/02/02 00:05:03 scrappy Exp $
  *
  * NOTES
  *	  this is the "main" module of the postgres backend and
@@ -33,7 +33,7 @@
 #include <sys/socket.h>
 #endif
 #include <errno.h>
-#ifdef aix
+#if HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif							/* aix */
 
@@ -1293,7 +1293,7 @@ PostgresMain(int argc, char *argv[])
 	if (IsUnderPostmaster == false)
 	{
 		puts("\nPOSTGRES backend interactive interface");
-		puts("$Revision: 1.64 $ $Date: 1998/02/01 19:43:46 $");
+		puts("$Revision: 1.65 $ $Date: 1998/02/02 00:05:03 $");
 	}
 
 	/* ----------------