diff options
| -rw-r--r-- | Misc/ACKS | 1 | ||||
| -rw-r--r-- | Modules/socketmodule.c | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -748,6 +748,7 @@ Zach Pincus Michael Piotrowski Antoine Pitrou Jean-François Piéronne +Remi Pointel Guilherme Polo Michael Pomraning Iustin Pop 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 @@ 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 |
