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

Tomasz Kojm (none) zolw at Wind.
Sun Apr 4 00:59:54 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit f1e02ed2526c4c0ec9cdac6a02d03f2e3d623c9e
Author: Tomasz Kojm <zolw at Wind.(none)>
Date:   Tue Aug 18 23:53:04 2009 +0200

    libclamav/cpio.c: wrap unistd.h, reported by Nigel Horne

diff --git a/ChangeLog b/ChangeLog
index be1cf47..2fd9a93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 18 23:52:20 CEST 2009 (tk)
+----------------------------------
+ * libclamav/cpio.c: wrap unistd.h, reported by Nigel Horne
+
 Mon Aug 17 13:54:09 CEST 2009 (acab)
 ------------------------------------
  * libclamav/7z: convert EOL to unix for compat with suncc
diff --git a/libclamav/cpio.c b/libclamav/cpio.c
index cbc05e2..fceaa66 100644
--- a/libclamav/cpio.c
+++ b/libclamav/cpio.c
@@ -25,7 +25,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list