From 6598eeee9268dc43011b6c53850be3b1dcb3263b Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 3 Feb 2023 13:35:30 -0800 Subject: [PATCH] FEXServer: Remove POLLREMOVE usage Fixes this file compiling on musl at least. POLLREMOVE usage here is technically incorrect as it shouldn't be OR'd with other flags. But it is also additionally wrong here because the Linux kernel doesn't even support this flag anymore, so it doesn't change behaviour. --- Source/Tools/FEXServer/ProcessPipe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Tools/FEXServer/ProcessPipe.cpp b/Source/Tools/FEXServer/ProcessPipe.cpp index 3d1fc0609..0ef0c219d 100644 --- a/Source/Tools/FEXServer/ProcessPipe.cpp +++ b/Source/Tools/FEXServer/ProcessPipe.cpp @@ -474,7 +474,7 @@ namespace ProcessPipe { // Add the new client to the temporary array NewPollFDs.emplace_back(pollfd { .fd = NewFD, - .events = POLLIN | POLLPRI | POLLRDHUP | POLLREMOVE, + .events = POLLIN | POLLPRI | POLLRDHUP, .revents = 0, }); }