--- others.c.current	Thu Sep  4 15:46:04 2003
+++ others.c	Thu Sep  4 15:46:15 2003
@@ -38,9 +38,9 @@
 #include <errno.h>
 #include <target.h>
 #include <clamav.h>
 
-#ifdef C_LINUX	/* njh@bandsman.co.uk */
+#ifdef HAS_SENDF
 #include <sys/sendfile.h>
 #endif
 
 #include "shared.h"
@@ -418,9 +418,10 @@
 }
 
 int filecopy(const char *src, const char *dest)
 {
-#ifdef C_LINUX
+
+#ifdef HAS_SENDF
 	struct stat statb;
 	int s, d;
 	off_t offset;
 #else
@@ -435,10 +436,11 @@
 	close(s);
 	return -1;
     }
 
-#ifdef C_LINUX
+#ifdef HAS_SENDF
     	/* njh@bandsman.co.uk: sendfile is much quicker */
+    	/* dank@icetrak.com: not if it isn't there! */
 	if(fstat(s, &statb) < 0) {
 		perror(src);
 		close(s);
 		close(d);
