aboutsummaryrefslogtreecommitdiff
path: root/libraries/libotr/0006-include-socket.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libotr/0006-include-socket.h.patch')
-rw-r--r--libraries/libotr/0006-include-socket.h.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/libotr/0006-include-socket.h.patch b/libraries/libotr/0006-include-socket.h.patch
new file mode 100644
index 0000000000..1806458d4b
--- /dev/null
+++ b/libraries/libotr/0006-include-socket.h.patch
@@ -0,0 +1,16 @@
+From: Rhonda D'Vine <rhonda@debian.org>
+Date: Thu, 12 May 2022 08:57:07 +0200
+Bug-Debian: https://bugs.debian.org/1009420
+Forwarded: no
+Subject: test suite fails to build without the include
+
+--- a/tests/regression/client/client.c
++++ b/tests/regression/client/client.c
+@@ -29,6 +29,7 @@
+ #include <sys/types.h>
+ #include <sys/un.h>
+ #include <unistd.h>
++#include <sys/socket.h>
+
+ #include <context.h>
+ #include <privkey.h>