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

Tomasz Kojm tkojm at clamav.net
Sun Apr 4 00:59:26 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit cd9f5c6a1bad47a5b0c2be42327c287c7210690d
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Tue Aug 4 20:26:25 2009 +0200

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

diff --git a/ChangeLog b/ChangeLog
index 56e4712..6c22fa8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug  4 20:24:06 CEST 2009 (tk)
+----------------------------------
+ * libclamav/macho.c: wrap unistd.h, reported by Nigel Horne
+
 Tue Aug  4 20:06:51 CEST 2009 (tk)
 ----------------------------------
  * libclamav/readdb.c: make the parser more sensitive to errors in
diff --git a/libclamav/macho.c b/libclamav/macho.c
index 76a2589..4fe8846 100644
--- a/libclamav/macho.c
+++ b/libclamav/macho.c
@@ -20,7 +20,9 @@
 
 #include <stdio.h>
 #include <string.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list