--- /dev/null
+--- libnscd-2.0.2/src/libnscd.c.orig 2020-04-28 13:13:02.196027384 +0200
++++ libnscd-2.0.2/src/libnscd.c 2020-04-28 13:12:44.799392886 +0200
+@@ -26,6 +26,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/socket.h>
++#include <sys/uio.h>
+ #include <sys/un.h>
+
+ #include "libnscd.h"
Group: Libraries
Source0: http://suse.osuosl.org/people/kukuk/libnscd/%{name}-%{version}.tar.bz2
# Source0-md5: a6f37e961de4f09c06df43070a47c615
+Patch0: %{name}-writev.patch
BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+%patch0 -p1
%build
cp -f /usr/share/automake/config.* .