Title: [100432] trunk/Tools
Revision
100432
Author
[email protected]
Date
2011-11-16 04:52:06 -0800 (Wed, 16 Nov 2011)

Log 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 <[email protected]> on 2011-11-16
Reviewed by Steve Block.

* DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (100431 => 100432)


--- trunk/Tools/ChangeLog	2011-11-16 12:48:30 UTC (rev 100431)
+++ trunk/Tools/ChangeLog	2011-11-16 12:52:06 UTC (rev 100432)
@@ -1,5 +1,18 @@
 2011-11-16  Peter Beverloo  <[email protected]>
 
+        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.
+
+        Reviewed by Steve Block.
+
+        * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
+
+2011-11-16  Peter Beverloo  <[email protected]>
+
         [Chromium] Update the Android NDK version being pulled in by update-webkit-chromium
         https://bugs.webkit.org/show_bug.cgi?id=72384
 

Modified: trunk/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp (100431 => 100432)


--- trunk/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp	2011-11-16 12:48:30 UTC (rev 100431)
+++ trunk/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp	2011-11-16 12:52:06 UTC (rev 100432)
@@ -29,6 +29,10 @@
 #include <assert.h>
 #include <string.h>
 
+#if defined(ANDROID)
+#include <unistd.h>
+#endif
+
 using namespace std;
 extern NPNetscapeFuncs *browser;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to