1 From 52fda6e6689e22866a39ec4273713fb6035c38b2 Mon Sep 17 00:00:00 2001
2 From: Bernd Kuhls <bernd.kuhls@t-online.de>
3 Date: Mon, 7 May 2018 23:14:46 +0200
4 Subject: [PATCH] clamdscan/proto.c: fix build error due to missing sockaddr_un
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 proto.c: In function ‘dconnect’:
11 proto.c:86:67: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_un’
12 if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0)
14 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
15 Upstream-status: http://lurker.clamav.net/message/20140928.130829.5494fd68.en.html
17 clamdscan/proto.c | 1 +
18 1 file changed, 1 insertion(+)
20 diff --git a/clamdscan/proto.c b/clamdscan/proto.c
21 index 0205f6da0..d3396732f 100644
22 --- a/clamdscan/proto.c
23 +++ b/clamdscan/proto.c
27 #include <sys/types.h>
29 #ifdef HAVE_SYS_SELECT_H
30 #include <sys/select.h>