summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 191296e..0855375 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -1764,6 +1764,8 @@ PyInit_select(void)
Py_INCREF(SelectError);
PyModule_AddObject(m, "error", SelectError);
+ PyModule_AddIntConstant(m, "PIPE_BUF", PIPE_BUF);
+
#if defined(HAVE_POLL)
#ifdef __APPLE__
if (select_have_broken_poll()) {