Remove unused <poll.h> header file in pqcomm.c

Поиск
Список
Период
Сортировка
Искать

Remove unused <poll.h> header file in pqcomm.c

От:
Japin Li <japinli@hotmail.com>
Дата:

Hi, all

When I read the code of pqcomm.c, I find we don't use anything from 
after commit cba5b994c99.  Maybe we should remove the include instruction.

diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c
index e5171467de1..744699ec35a 100644
--- a/src/backend/libpq/pqcomm.c
+++ b/src/backend/libpq/pqcomm.c
@@ -53,9 +53,6 @@
  */
 #include "postgres.h"
 
-#ifdef HAVE_POLL_H
-#include 
-#endif
 #include 
 #include 
 #include 


-- 
Regrads,
Japin Li


FAQ