summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/selectmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 0c6771f112..1c747a5e02 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -657,6 +657,8 @@ initselect(void)
insint(d, "POLLRDBAND", POLLRDBAND);
insint(d, "POLLWRNORM", POLLWRNORM);
insint(d, "POLLWRBAND", POLLWRBAND);
+#ifdef POLLMSG
insint(d, "POLLMSG", POLLMSG);
+#endif
#endif /* HAVE_POLL */
}