"Mclean, John (GE Energy Management)" <[email protected]> wrote in 
news:831b11e079465943a5793894e6b32ac80b706...@cinurcna24.e2k.ad.ge.com:

> In clamav-0.98.4/clamdscan/proto.c, sockaddr_un was unknown, so made the 
following change:

Hi,

you could also try to add

#include <sys/un.h>

to clamdscan/proto.c. This fixes a similar bug here:

proto.c: In function ‘dconnect’:
proto.c:86:67: error: invalid application of ‘sizeof’ to incomplete type 
‘struct sockaddr_un’
      if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0)

Regards, Bernd

_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to