It needs to include <windows.h>
Created attachment 250804 [details] Add missing includes to FileSystemGtk Needed for GetModuleHandleExA() & Co.
Attachment 250804 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:12: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 250839 [details] Add missing includes to FileSystemGtk Needed for GetModuleHandleExA() & Co.
Committed to 2.4 http://trac.webkit.org/changeset/184549 I'm leaving this open, since this applies to trunk as well, but for trunk I think we should probably remove the windows implementation from FileSystemGtk instead, since it's currently dead code.
Comment on attachment 250804 [details] Add missing includes to FileSystemGtk Cleared Darin Adler's review+ from obsolete attachment 250804 [details] so that this bug does not appear in http://webkit.org/pending-commit.
The source has since been moved into Source/WTF/wtf/glib/FileSystemGlib.cpp which does include <windows.h> guarded by OS(WINDOWS) these days — the issue reported in this bug does no longer exist.