Bug 30096

Summary: RegisterFile.h uses errno() in case of HAVE(VIRTUALALLOC), but does not does not include it explicitly
Product: WebKit Reporter: Alexander Vassilev <avasilev>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: avasilev, barraclough
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Alexander Vassilev
Reported 2009-10-05 14:52:11 PDT
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.
Attachments
Gavin Barraclough
Comment 1 2012-03-26 14:50:13 PDT
RegisterFile.h no longer uses error! cheers, G.
Note You need to log in before you can comment on or make changes to this bug.