Changeset View
Changeset View
Standalone View
Standalone View
head/www/webkit2-gtk3/files/patch-Source_WTF_wtf_NumberOfCores.cpp
--- Source/WTF/wtf/NumberOfCores.cpp.orig 2017-04-11 20:08:02.949675000 +0200 | --- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-02-19 07:45:30 UTC | ||||
+++ Source/WTF/wtf/NumberOfCores.cpp 2017-04-11 20:08:43.723709000 +0200 | +++ Source/WTF/wtf/NumberOfCores.cpp | ||||
@@ -33,6 +33,7 @@ | @@ -35,6 +35,7 @@ | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#elif OS(LINUX) || OS(AIX) || OS(SOLARIS) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD) | #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD) | ||||
+#include <stdio.h> // sscanf() | +#include <stdio.h> // sscanf | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#elif OS(WINDOWS) | #elif OS(WINDOWS) | ||||
#include <windows.h> | #include <windows.h> |