Hello all,

Pretty straight forward stuff, really.

Thanks,

Index: clamd/tcpserver.c
===================================================================
--- clamd/tcpserver.c   (revision 274)
+++ clamd/tcpserver.c   (working copy)
@@ -28,6 +28,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #ifndef        C_WINDOWS
 #include <sys/socket.h>
 #include <netinet/in.h>
Index: clamd/localserver.c
===================================================================
--- clamd/localserver.c (revision 274)
+++ clamd/localserver.c (working copy)
@@ -28,6 +28,9 @@
 #include <sys/stat.h>
 #include <sys/un.h>
 #include <errno.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif

 #include "libclamav/clamav.h"

Index: libclamav/unrar/unrar20.c
===================================================================
--- libclamav/unrar/unrar20.c   (revision 274)
+++ libclamav/unrar/unrar20.c   (working copy)
@@ -23,6 +23,7 @@

 #include <string.h>

+#include "others.h"
 #include "unrar.h"
 #include "unrar20.h"

Index: libclamav/unrar/unrar15.c
===================================================================
--- libclamav/unrar/unrar15.c   (revision 274)
+++ libclamav/unrar/unrar15.c   (working copy)
@@ -22,6 +22,7 @@
  */

 #include "unrar.h"
+#include <string.h>

 #define STARTL1  2
 static unsigned int dec_l1[]={0x8000,0xa000,0xc000,0xd000,0xe000,0xea00,
Index: libclamav/mspack/system.c
===================================================================
--- libclamav/mspack/system.c   (revision 274)
+++ libclamav/mspack/system.c   (working copy)
@@ -12,6 +12,7 @@
 #endif

 #include <mspack.h>
+#include <stdio.h>
 #include "others.h"
 #include "system.h"

Index: libclamav/filetypes.c
===================================================================
--- libclamav/filetypes.c       (revision 274)
+++ libclamav/filetypes.c       (working copy)
@@ -26,6 +26,10 @@
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
+#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif

 #include "clamav.h"
 #include "filetypes.h"
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | We do not colonize.  We conquer.  We    |
|  [EMAIL PROTECTED]             | rule.  There is no other way for us.    |
|  http://www.lobefin.net/~steve | -- Rojan, "By Any Other Name", stardate |
|                                | 4657.5                                  |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to