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

Török Edvin edwin at clamav.net
Sun Apr 4 01:13:11 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit ce0c204a7ebcd6075cd58daeb5a5c2909343556c
Author: Török Edvin <edwin at clamav.net>
Date:   Tue Dec 22 09:33:34 2009 +0200

    fix build on FreeBSD and Mac OS X (bb #1776).
    
    Thanks to Renato Botelho.

diff --git a/ChangeLog b/ChangeLog
index 9d3dbb7..c71b341 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec 22 09:32:33 EET 2009 (edwin)
+------------------------------------
+ * libclamav/fmap.h: fix build on FreeBSD and Mac OS X (bb #1776). Thanks to
+    Renato Botelho.
+
 Wed Dec 16 15:33:01 CET 2009 (acab)
 -----------------------------------
  * libclamav/unzip.c: do not mark embedded zipfiles as
diff --git a/libclamav/fmap.h b/libclamav/fmap.h
index aa84f72..3f5bd1a 100644
--- a/libclamav/fmap.h
+++ b/libclamav/fmap.h
@@ -21,6 +21,10 @@
 #ifndef __FMAP_H
 #define __FMAP_H
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include <time.h>
 #include "cltypes.h"
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list