diff --git a/psycopg/bytes_format.c b/psycopg/bytes_format.c index c11b1b7d..991f7605 100644 --- a/psycopg/bytes_format.c +++ b/psycopg/bytes_format.c @@ -79,10 +79,7 @@ #define PSYCOPG_MODULE #include "psycopg/psycopg.h" - -#ifndef Py_LOCAL_INLINE -#define Py_LOCAL_INLINE(type) static type -#endif +#include "pyport.h" /* Helpers for formatstring */