X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/efafa5271957fb54b356ec1c90e8613f14de40d4..7f0d969d71a09cac63a2a916554427627ca399bc:/module/nominatim.c diff --git a/module/nominatim.c b/module/nominatim.c index 9d43c22f..54632f76 100644 --- a/module/nominatim.c +++ b/module/nominatim.c @@ -11,10 +11,12 @@ #include "mb/pg_wchar.h" #include -#ifdef PG_MODULE_MAGIC -PG_MODULE_MAGIC; +#if PG_MAJORVERSION_NUM > 15 +#include "varatt.h" #endif +PG_MODULE_MAGIC; + Datum transliteration( PG_FUNCTION_ARGS ); Datum gettokenstring( PG_FUNCTION_ARGS ); void str_replace(char* buffer, int* len, int* changes, char* from, int fromlen, char* to, int tolen, int);