summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Elaine Gibson <86775241+ypsvlq@users.noreply.github.com>2024-02-04 00:45:21 +0000
committer GitHub <noreply@github.com>2024-02-03 19:45:21 -0500
commit8bcb14db406686855a963f7cc243749d5a599f50 (patch)
treed401a4c60e0675bcda2b620b7c447ed7891ee479 /src/osd
parent506cfcbfd7abeabd27c40060a424f4d9380a086f (diff)
Fix compilation against musl (#12000)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/sound/pulse_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/sound/pulse_sound.cpp b/src/osd/modules/sound/pulse_sound.cpp
index a0b316bee84..373913f9f91 100644
--- a/src/osd/modules/sound/pulse_sound.cpp
+++ b/src/osd/modules/sound/pulse_sound.cpp
@@ -120,7 +120,7 @@ char sound_pulse::get_main()
{
pollfd pfds[1];
pfds[0].fd = m_pipe_to_main[0];
- pfds[0].events = POLL_IN;
+ pfds[0].events = POLLIN;
pfds[0].revents = 0;
int err = poll(pfds, 1, -1);
if(err < 0)