[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

aCaB acab at clamav.net
Sun Apr 4 00:59:14 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit f235c57a8b6b0478ff3b96701a37288098ab97bf
Author: aCaB <acab at clamav.net>
Date:   Sun Jul 26 18:56:13 2009 +0200

    wrap unistd in shared/actions.c

diff --git a/ChangeLog b/ChangeLog
index 976eb2f..153dc95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jul 26 18:55:37 CEST 2009 (acab)
+------------------------------------
+ * shared/actions.c: wrap unistd - reported by njh
+
 Sun Jul 19 16:19:49 CEST 2009 (acab)
 ------------------------------------
  * libclamav/pe.c: check IS-cab scan result
diff --git a/shared/actions.c b/shared/actions.c
index 6152cbe..bc10109 100644
--- a/shared/actions.c
+++ b/shared/actions.c
@@ -26,7 +26,9 @@
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#if HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <fcntl.h>
 #include <utime.h>
 #include <errno.h>

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list