forked from pool/libotr
- Add sys/socket.h to the test suite that FTBFS without the include * Add libotr-4.1.1-include-socket.h.patch OBS-URL: https://build.opensuse.org/request/show/1038261 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libotr?expand=0&rev=26
17 lines
425 B
Diff
17 lines
425 B
Diff
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>
|