3 proto.c: In function ‘dconnect’:
4 proto.c:86:67: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_un’
5 if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0)
7 Patch sent upstream: http://lurker.clamav.net/message/20140928.130829.5494fd68.en.html
9 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
11 diff -uNr clamav-0.98.3.org/clamdscan/proto.c clamav-0.98.3/clamdscan/proto.c
12 --- clamav-0.98.3.org/clamdscan/proto.c 2014-05-06 20:39:56.000000000 +0200
13 +++ clamav-0.98.3/clamdscan/proto.c 2014-05-10 10:41:44.000000000 +0200
17 #include <sys/types.h>
19 #ifdef HAVE_SYS_SELECT_H
20 #include <sys/select.h>