Bug 20545 - missing #include <unistd.h> in JavaScriptCore/VM/SamplingTool.cpp
Summary: missing #include <unistd.h> in JavaScriptCore/VM/SamplingTool.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 10:48 PDT by Landry Breuil
Modified: 2008-08-28 04:45 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Landry Breuil 2008-08-27 10:48:11 PDT
with r35941, there is a missing #include <unistd.h> somewhere in JavaScriptCore/VM/SamplingTool.cpp to define usleep(), at least here on OpenBSD. Was building fine with r35249, now it complains about the missing prototype.

Thanks,
Landry
Comment 1 Alexey Proskuryakov 2008-08-28 04:45:04 PDT
Fix committed revision 35965.