diff options
author | Brendan Coles <bcoles@gmail.com> | 2021-02-18 09:15:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-18 10:23:08 +0100 |
commit | a11c065e82b3a186e8146ecaabb1399eabd7d80c (patch) | |
tree | c79a2fd43fa452dcc2c8d81ab3fc4fe3def6643e /Userland/Games | |
parent | 55a9a4f57a5919e6c78303eef3fef11726ff979c (diff) | |
download | serenity-a11c065e82b3a186e8146ecaabb1399eabd7d80c.zip |
Chess: pledge thread
`thread` is required by the file browse dialog
when importing or exporting PGN files.
Diffstat (limited to 'Userland/Games')
-rw-r--r-- | Userland/Games/Chess/main.cpp | 2 |
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; } |