Hi Yao, On Sun, 14 Dec 2014 09:54:29 +0100, Yao Qi wrote: > Jan Kratochvil writes: > > Is it OK to import mkdtemp from gnulib? Asking before I create such patch. > Yes, that is fine by me. attached, although it is not ready for check-in. On Fedora 21 x86_64 it builds now 32-bit target with mingw-w64, you are right that with the 'compile' patches I checked in it did not. But mingw-w64 64-bit target would build OK (after commenting out the mkdtemp() call) before adding the gnulib mkdtemp module. But after the gnulib mkdtemp addition there are many errors (attached as the second attachment). It is all about struct timeval * vs. struct rpl_timeval * but an advice from mingw64 aware hacker would be nice to know what to do. Thanks, Jan