diff --git a/NEWS b/NEWS index 2bea4c59..9ceccec0 100644 --- a/NEWS +++ b/NEWS @@ -4,13 +4,14 @@ Current release What's new in psycopg 2.8.4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +- Fixed building with Python 3.8 (:ticket:`#854`). - Don't swallow keyboard interrupts on connect when a password is specified in the connection string (:ticket:`#898`). - Don't advance replication cursor when the message wasn't confirmed (:ticket:`#940`). +- Fixed inclusion of ``time.h`` on linux (:ticket:`#951`). - Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid` - and `~psycopg2.extensions.Column.type_code` (:ticket:`961`). -- Fixed building with Python 3.8 (:ticket:`854`). + and `~psycopg2.extensions.Column.type_code` (:ticket:`#961`). - `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to PostgreSQL 12. diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c index 28774cd8..a9ce0a36 100644 --- a/psycopg/pqpath.c +++ b/psycopg/pqpath.c @@ -51,10 +51,10 @@ #include /* gettimeofday() */ #include "win32_support.h" -#endif - -#if defined(__sun) && defined(__SVR4) +#elif defined(__sun) && defined(__SVR4) #include "solaris_support.h" +#else +#include #endif extern HIDDEN PyObject *psyco_DescriptionType;