diff --git a/zstd.c b/zstd.c index 79918b8..9498769 100644 --- a/zstd.c +++ b/zstd.c @@ -2,6 +2,12 @@ #include #include +#ifdef PG_VERSION_NUM + #if PG_VERSION_NUM >= 160000 + #include "varatt.h" + #endif +#endif + #ifdef PG_MODULE_MAGIC PG_MODULE_MAGIC; #endif