--- embedaddon/libxml2/libxml.h 2012/02/21 23:37:58 1.1.1.1 +++ embedaddon/libxml2/libxml.h 2013/07/22 01:22:20 1.1.1.2 @@ -79,6 +79,13 @@ void __xmlGlobalInitMutexLock(void); void __xmlGlobalInitMutexUnlock(void); void __xmlGlobalInitMutexDestroy(void); +#if defined(HAVE_RAND) && defined(HAVE_SRAND) && defined(HAVE_TIME) +/* + * internal thread safe random function + */ +int __xmlRandom(void); +#endif + #ifdef IN_LIBXML #ifdef __GNUC__ #ifdef PIC