test/testrand.c, test/testrand2.c, test/testprocmutex.c, test/testthread.c, and test/testsleep.c all include errno.h, but do not access the global variable errno or use any of the defined preprocessor macros. The unnecessary inclusion of errno.h causes these modules to fail to compile on platforms, such as Windows CE, where errno.h is not supported.
Created attachment 18493 [details] Patch file removing unnecessary includes
Committed to trunk in r415941: http://svn.apache.org/viewvc?view=rev&revision=415941 Thanks!