mirror of https://github.com/python/cpython
Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.h
Patch written by Remi Pointel.
This commit is contained in:
parent
aec2f21f71
commit
710d27e93a
|
@ -748,6 +748,7 @@ Zach Pincus
|
|||
Michael Piotrowski
|
||||
Antoine Pitrou
|
||||
Jean-François Piéronne
|
||||
Remi Pointel
|
||||
Guilherme Polo
|
||||
Michael Pomraning
|
||||
Iustin Pop
|
||||
|
|
|
@ -156,6 +156,10 @@ if_indextoname(index) -- return the corresponding interface name\n\
|
|||
# undef HAVE_GETHOSTBYNAME_R_6_ARG
|
||||
#endif
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
# include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
#ifndef WITH_THREAD
|
||||
# undef HAVE_GETHOSTBYNAME_R
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue