summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/ACKS1
-rw-r--r--Modules/socketmodule.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 062a77a..e734608 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -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