RegisterFile.h: errno.h is included only in the HAVE(MMAP) case, but is used also in the HAVE(VIRTUALALLOC) case, which can cause a compile error in case errno.h was not implicitly included before. The same problem used to exist with fprintf(), but the <stdio.h> include was moved out of the #if HAVE(MMAP). <errno.h> should probably be also moved out of the #if HAVE(MMAP) case.
RegisterFile.h no longer uses error! cheers, G.