NetworkProcess cache files use functions from unistd.h without explicitly including it
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Jan 2018 22:33:01 +0000 (22:33 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Jan 2018 22:33:01 +0000 (22:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=181261

Patch by Stephan Szabo <stephan.szabo@sony.com> on 2018-01-04
Reviewed by Alex Christensen.

* NetworkProcess/cache/NetworkCacheBlobStorage.cpp:
* NetworkProcess/cache/NetworkCacheData.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/cache/NetworkCacheBlobStorage.cpp
Source/WebKit/NetworkProcess/cache/NetworkCacheData.cpp

index cc9de6b..3a00a4e 100644 (file)
@@ -1,3 +1,13 @@
+2018-01-04  Stephan Szabo  <stephan.szabo@sony.com>
+
+        NetworkProcess cache files use functions from unistd.h without explicitly including it
+        https://bugs.webkit.org/show_bug.cgi?id=181261
+
+        Reviewed by Alex Christensen.
+
+        * NetworkProcess/cache/NetworkCacheBlobStorage.cpp:
+        * NetworkProcess/cache/NetworkCacheData.cpp:
+
 2018-01-04  Keith Rollin  <krollin@apple.com>
 
         Add commas
index 1635f23..993af0e 100644 (file)
@@ -32,6 +32,7 @@
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <wtf/RunLoop.h>
 #include <wtf/SHA1.h>
 
index 7bb6492..cf637a7 100644 (file)
@@ -30,6 +30,7 @@
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <wtf/CryptographicallyRandomNumber.h>
 
 namespace WebKit {