mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -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…
Add table
Add a link
Reference in a new issue