summaryrefslogtreecommitdiffstats
path: root/Modules/fcntlmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/fcntlmodule.c')
-rw-r--r--Modules/fcntlmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c
index 9695057..bb8548d 100644
--- a/Modules/fcntlmodule.c
+++ b/Modules/fcntlmodule.c
@@ -556,7 +556,10 @@ all_ins(PyObject* d)
INS(I_FDINSERT);
INS(I_STR);
INS(I_SWROPT);
+#ifdef I_GWROPT
+ /* despite the comment above, old-ish glibcs miss a couple... */
INS(I_GWROPT);
+#endif
INS(I_SENDFD);
INS(I_RECVFD);
INS(I_LIST);
@@ -565,7 +568,9 @@ all_ins(PyObject* d)
INS(I_GETBAND);
INS(I_CANPUT);
INS(I_SETCLTIME);
+#ifdef I_GETCLTIME
INS(I_GETCLTIME);
+#endif
INS(I_LINK);
INS(I_UNLINK);
INS(I_PLINK);