Changeset 100432 in webkit


Ignore:
Timestamp:
Nov 16, 2011 4:52:06 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Explicitly include unistd.h in TestNetscapePlugIn
https://bugs.webkit.org/show_bug.cgi?id=72385

This is needed for the sleep() call in the indicateTestFailure method,
which seems to be implicitly available for other platforms. This is not
the case on Android.

Patch by Peter Beverloo <peter@chromium.org> on 2011-11-16
Reviewed by Steve Block.

  • DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r100428 r100432  
     12011-11-16  Peter Beverloo  <peter@chromium.org>
     2
     3        Explicitly include unistd.h in TestNetscapePlugIn
     4        https://bugs.webkit.org/show_bug.cgi?id=72385
     5
     6        This is needed for the sleep() call in the indicateTestFailure method,
     7        which seems to be implicitly available for other platforms. This is not
     8        the case on Android.
     9
     10        Reviewed by Steve Block.
     11
     12        * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
     13
    1142011-11-16  Peter Beverloo  <peter@chromium.org>
    215
  • trunk/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp

    r99300 r100432  
    3030#include <string.h>
    3131
     32#if defined(ANDROID)
     33#include <unistd.h>
     34#endif
     35
    3236using namespace std;
    3337extern NPNetscapeFuncs *browser;
Note: See TracChangeset for help on using the changeset viewer.