Fix compilation failure bug234

git-svn: trunk@2688
remotes/push_mirror/metadata
Nigel Horne 19 years ago
parent 093789b9ef
commit 46e3fab86a
  1. 4
      clamav-devel/ChangeLog
  2. 11
      clamav-devel/libclamav/lockdb.c

@ -1,3 +1,7 @@
Fri Feb 9 17:57:15 GMT 2007 (njh)
----------------------------------
* libclamav/lockdb.c: Fix compilation error, bug 234
Fri Feb 9 10:49:37 CET 2007 (tk)
---------------------------------
* libclamav/entconv.c: fix whitespace normalization (bb#283), patch from Edwin

@ -30,6 +30,9 @@
* accesses. So, a simple mutual exclusion mechanism will suffice for both
* the reader and writer locks on Windows.
*/
#ifdef _MSC_VER
#include <windows.h>
#endif
#if HAVE_CONFIG_H
#include "clamav-config.h"
@ -40,16 +43,14 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#ifndef C_WINDOWS
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <fcntl.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#include <errno.h>
#else
#include <windows.h>
#endif
#include <fcntl.h>
#include <errno.h>
#include "clamav.h"
#include "others.h"

Loading…
Cancel
Save