summaryrefslogtreecommitdiff
path: root/Userland/Games/Chess
diff options
context:
space:
mode:
authorBrendan Coles <bcoles@gmail.com>2021-02-18 09:15:10 +0000
committerAndreas Kling <kling@serenityos.org>2021-02-18 10:23:08 +0100
commita11c065e82b3a186e8146ecaabb1399eabd7d80c (patch)
treec79a2fd43fa452dcc2c8d81ab3fc4fe3def6643e /Userland/Games/Chess
parent55a9a4f57a5919e6c78303eef3fef11726ff979c (diff)
downloadserenity-a11c065e82b3a186e8146ecaabb1399eabd7d80c.zip
Chess: pledge thread
`thread` is required by the file browse dialog when importing or exporting PGN files.
Diffstat (limited to 'Userland/Games/Chess')
-rw-r--r--Userland/Games/Chess/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp
index d519429d37..7f01004eaa 100644
--- a/Userland/Games/Chess/main.cpp
+++ b/Userland/Games/Chess/main.cpp
@@ -47,7 +47,7 @@ int main(int argc, char** argv)
RefPtr<Core::ConfigFile> config = Core::ConfigFile::get_for_app("Chess");
- if (pledge("stdio rpath accept wpath cpath recvfd sendfd proc exec", nullptr) < 0) {
+ if (pledge("stdio rpath accept wpath cpath recvfd sendfd thread proc exec", nullptr) < 0) {
perror("pledge");
return 1;
}