commit | 710d27e93a25637e9fad7913e79a8e3ead68a3e0 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@wyplay.com> | Tue Aug 23 10:57:32 2011 +0200 |
committer | Victor Stinner <vstinner@wyplay.com> | Tue Aug 23 10:57:32 2011 +0200 |
tree | 7154e80d85353ffe770ae72ecb8ab23532b78070 | |
parent | aec2f21f71c33de5a3cd377a63371fcc0894ba4c [diff] |
Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.h Patch written by Remi Pointel.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 81d1ce1..5878ebb 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -156,6 +156,10 @@ # undef HAVE_GETHOSTBYNAME_R_6_ARG #endif +#if defined(__OpenBSD__) +# include <sys/uio.h> +#endif + #ifndef WITH_THREAD # undef HAVE_GETHOSTBYNAME_R #endif