mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00: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
2 changed files with 5 additions and 0 deletions
|
@ -748,6 +748,7 @@ Zach Pincus
|
||||||
Michael Piotrowski
|
Michael Piotrowski
|
||||||
Antoine Pitrou
|
Antoine Pitrou
|
||||||
Jean-François Piéronne
|
Jean-François Piéronne
|
||||||
|
Remi Pointel
|
||||||
Guilherme Polo
|
Guilherme Polo
|
||||||
Michael Pomraning
|
Michael Pomraning
|
||||||
Iustin Pop
|
Iustin Pop
|
||||||
|
|
|
@ -156,6 +156,10 @@ if_indextoname(index) -- return the corresponding interface name\n\
|
||||||
# undef HAVE_GETHOSTBYNAME_R_6_ARG
|
# undef HAVE_GETHOSTBYNAME_R_6_ARG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__OpenBSD__)
|
||||||
|
# include <sys/uio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WITH_THREAD
|
#ifndef WITH_THREAD
|
||||||
# undef HAVE_GETHOSTBYNAME_R
|
# undef HAVE_GETHOSTBYNAME_R
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue