Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.h

Patch written by Remi Pointel.
This commit is contained in:
Victor Stinner 2011-08-23 10:57:32 +02:00
parent aec2f21f71
commit 710d27e93a
2 changed files with 5 additions and 0 deletions

View File

@ -748,6 +748,7 @@ Zach Pincus
Michael Piotrowski
Antoine Pitrou
Jean-François Piéronne
Remi Pointel
Guilherme Polo
Michael Pomraning
Iustin Pop

View File

@ -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