WITH_CONTENT_SCAN checkin - compiles OK now
[users/jgh/exim.git] / src / src / regex.c
index 760910a74612d61e9efba68994ca66b6570aa2c9..37178a6dd1af7e13b28a60cf0be25ea1b415fe68 100644 (file)
@@ -1,12 +1,9 @@
-/* $Cambridge: exim/src/src/regex.c,v 1.1.2.1 2004/11/26 09:24:05 tom Exp $ */
+/* $Cambridge: exim/src/src/regex.c,v 1.1.2.3 2004/11/30 15:18:58 tom Exp $ */
 
 /*************************************************
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* This file is part of the exiscan-acl content scanner
-patch. It is NOT part of the standard exim distribution. */
-
 /* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2003-???? */
 /* License: GPL */
 
@@ -14,6 +11,7 @@ patch. It is NOT part of the standard exim distribution. */
  Called from acl.c. */
 
 #include "exim.h"
+#ifdef WITH_CONTENT_SCAN
 #include <unistd.h>
 #include <sys/mman.h>
 
@@ -246,3 +244,4 @@ int mime_regex(uschar **listptr) {
   return FAIL;
 }
 
+#endif