From f872a2aabbf69bc7f16a4c25f226d634f9d019c9 Mon Sep 17 00:00:00 2001 From: Oleksandr Shulgin Date: Wed, 30 Sep 2015 14:34:45 +0200 Subject: [PATCH] Remove typedef for uint32, include internal/c.h --- psycopg/libpq_support.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/psycopg/libpq_support.h b/psycopg/libpq_support.h index ab35fef5..c7139463 100644 --- a/psycopg/libpq_support.h +++ b/psycopg/libpq_support.h @@ -26,9 +26,9 @@ #define PSYCOPG_LIBPQ_SUPPORT_H 1 #include "psycopg/config.h" +#include "internal/c.h" -/* type and constant definitions from internal postgres includes */ -typedef unsigned int uint32; +/* type and constant definitions from internal postgres includes not available otherwise */ typedef unsigned PG_INT64_TYPE XLogRecPtr; #define InvalidXLogRecPtr ((XLogRecPtr) 0)