X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Finit_globals.c;h=0800a4bc836744c91c8c6e5af3c647e266e9ad37;hp=1f2905c4167b0261cd18992c526ee5cc7aa48258;hb=71e066dd201f095184b98199399ac7965f7f176e;hpb=f41208530e726b3600657873e927a9bb33721a7c diff --git a/src/init_globals.c b/src/init_globals.c index 1f2905c..0800a4b 100644 --- a/src/init_globals.c +++ b/src/init_globals.c @@ -24,6 +24,10 @@ #include #endif +#if YAZ_HAVE_EXSLT +#include +#endif + static int yaz_init_flag = 0; #if YAZ_POSIX_THREADS static pthread_mutex_t yaz_init_mutex = PTHREAD_MUTEX_INITIALIZER; @@ -53,6 +57,9 @@ void yaz_init_globals(void) #endif yaz_init_flag = 1; } +#if YAZ_HAVE_EXSLT + exsltRegisterAll(); +#endif #if YAZ_POSIX_THREADS pthread_mutex_unlock(&yaz_init_mutex); #endif