On 2009-12-21 16:57, Renato Botelho wrote: > 2009/12/21 Török Edwin <edwinto...@gmail.com>: > >> Hi Renato, >> >> Thanks for the patch, what if you only wrap the include by #ifdef >> HAVE_UNISTD_H? >> >> Something like: >> #ifdef HAVE_UNISTD_H >> #include <unistd.h> >> #endif >> >> We have a similar bug for OS X >> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1776, which I haven't >> had time to look into yet. >> > > FYI, I've attached this patch on bug 1776 asking someone to test it on OSX > >
Thanks, I applied the patch here: http://git.clamav.net/gitweb?p=clamav-devel.git;a=commit;h=ce0c204a7ebcd6075cd58daeb5a5c2909343556c Best regards, --Edwin _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net