[Python-checkins] python/dist/src/Modules socketmodule.c,1.247,1.248

loewis@users.sourceforge.net loewis@users.sourceforge.net
Fri, 06 Dec 2002 04:57:29 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv14859/Modules

Modified Files:
	socketmodule.c 
Log Message:
Don't include <ioctl.h> unless on __VMS.


Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.247
retrieving revision 1.248
diff -C2 -d -r1.247 -r1.248
*** socketmodule.c	6 Dec 2002 12:48:51 -0000	1.247
--- socketmodule.c	6 Dec 2002 12:57:26 -0000	1.248
***************
*** 149,153 ****
  #endif
  
! #if defined(__VMS) && ! defined(_SOCKADDR_LEN)
  #   ifdef getaddrinfo
  #      undef getaddrinfo
--- 149,154 ----
  #endif
  
! #if defined(__VMS)
! #if ! defined(_SOCKADDR_LEN)
  #   ifdef getaddrinfo
  #      undef getaddrinfo
***************
*** 156,159 ****
--- 157,161 ----
  #else
  #  include <ioctl.h>
+ #endif
  #endif