Bug 30096 - RegisterFile.h uses errno() in case of HAVE(VIRTUALALLOC), but does not does not include it explicitly
Summary: RegisterFile.h uses errno() in case of HAVE(VIRTUALALLOC), but does not doe...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-05 14:52 PDT by Alexander Vassilev
Modified: 2012-03-26 14:50 PDT (History)
2 users (show)

See Also:


Attachments

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

cheers, G.