Simple fix for

[ 733781 ] fcntl fails to build on old RH Linux
This commit is contained in:
Michael W. Hudson 2003-05-09 10:45:20 +00:00
parent ee0325ac9a
commit 505c4c2858
1 changed files with 5 additions and 0 deletions

View File

@ -556,7 +556,10 @@ all_ins(PyObject* d)
INS(I_FDINSERT); INS(I_FDINSERT);
INS(I_STR); INS(I_STR);
INS(I_SWROPT); INS(I_SWROPT);
#ifdef I_GWROPT
/* despite the comment above, old-ish glibcs miss a couple... */
INS(I_GWROPT); INS(I_GWROPT);
#endif
INS(I_SENDFD); INS(I_SENDFD);
INS(I_RECVFD); INS(I_RECVFD);
INS(I_LIST); INS(I_LIST);
@ -565,7 +568,9 @@ all_ins(PyObject* d)
INS(I_GETBAND); INS(I_GETBAND);
INS(I_CANPUT); INS(I_CANPUT);
INS(I_SETCLTIME); INS(I_SETCLTIME);
#ifdef I_GETCLTIME
INS(I_GETCLTIME); INS(I_GETCLTIME);
#endif
INS(I_LINK); INS(I_LINK);
INS(I_UNLINK); INS(I_UNLINK);
INS(I_PLINK); INS(I_PLINK);