Bug 27365 - Build fix on platforms don't have MMAP
Summary: Build fix on platforms don't have MMAP
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Trivial
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 03:29 PDT by Csaba Osztrogonác
Modified: 2009-07-17 04:02 PDT (History)
1 user (show)

See Also:


Attachments
proposed patch (1.06 KB, patch)
2009-07-17 03:33 PDT, Csaba Osztrogonác
levin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2009-07-17 03:29:04 PDT
In JavaScriptCore/interpreter/RegisterFile.h if HAVE(MMAP) is false, stdio.h not inculded, but fprintf and stderr used at line 190 and 192.
stdio.h must be included irrespectively of HAVE(MMAP).
Comment 1 Csaba Osztrogonác 2009-07-17 03:33:37 PDT
Created attachment 32925 [details]
proposed patch
Comment 2 David Levin 2009-07-17 04:02:20 PDT
Committed as http://trac.webkit.org/changeset/46025