diff --git a/emailaddr.c b/emailaddr.c index 6bbd9d2..39eff3b 100644 --- a/emailaddr.c +++ b/emailaddr.c @@ -2,6 +2,11 @@ #include #include +#ifdef PG_VERSION_NUM + #if PG_VERSION_NUM >= 160000 + #include "varatt.h" + #endif +#endif PG_MODULE_MAGIC;