[Python-checkins] python/dist/src/Modules posixmodule.c,2.230,2.231
nnorwitz@sourceforge.net
nnorwitz@sourceforge.net
Sat, 20 Apr 2002 06:46:46 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv31932/Modules
Modified Files:
posixmodule.c
Log Message:
#546163, fix link problem on Solaris 8 for makedev when using mknod
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.230
retrieving revision 2.231
diff -C2 -d -r2.230 -r2.231
*** posixmodule.c 19 Apr 2002 14:58:40 -0000 2.230
--- posixmodule.c 20 Apr 2002 13:46:43 -0000 2.231
***************
*** 279,282 ****
--- 279,285 ----
#endif
+ #if defined(HAVE_MKNOD) && defined(HAVE_SYS_MKDEV_H)
+ #include <sys/mkdev.h>
+ #endif
/* Return a dictionary corresponding to the POSIX environment table */