summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/files/function-scope.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/files/function-scope.patch')
-rw-r--r--meta/recipes-sato/webkit/files/function-scope.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/files/function-scope.patch b/meta/recipes-sato/webkit/files/function-scope.patch
new file mode 100644
index 0000000000..a20a80501f
--- /dev/null
+++ b/meta/recipes-sato/webkit/files/function-scope.patch
@@ -0,0 +1,21 @@
1we need to include unistd.h on all linux platforms therefore
2extend the conditional inclusion accordingly
3
4This gets proper declation of sleep() into the source file
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9Index: webkit-gtk-1.7.2+svnr101488-r3/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp
10===================================================================
11--- webkit-gtk-1.7.2+svnr101488-r3.orig/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp 2012-03-30 12:11:04.912613223 -0700
12+++ webkit-gtk-1.7.2+svnr101488-r3/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp 2012-03-30 12:14:21.840622752 -0700
13@@ -29,7 +29,7 @@
14 #include <assert.h>
15 #include <string.h>
16
17-#if defined(ANDROID)
18+#if defined(__linux__)
19 #include <unistd.h>
20 #endif
21