mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
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
Block a user