Chess: pledge thread

`thread` is required by the file browse dialog
when importing or exporting PGN files.
This commit is contained in:
Brendan Coles 2021-02-18 09:15:10 +00:00 committed by Andreas Kling
parent 55a9a4f57a
commit a11c065e82

View file

@ -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;
}