EXPERIMENTAL_DCC: make build without WITH_CONTENT_SCAN fail
[exim.git] / src / src / dcc.c
index a9124a013a7b177addab97352cfd3f132a66fdb9..56dd6d570c1da1bf99e8d96e1cda51b0befb5a6e 100644 (file)
@@ -7,13 +7,17 @@
  * wbreyha@gmx.net
  * See the file NOTICE for conditions of use and distribution.
  *
- * Copyright (c) The Exim Maintainers 2015 - 2021
+ * Copyright (c) The Exim Maintainers 2015 - 2022
  */
 
 /* Code for calling dccifd. Called from acl.c. */
 
 #include "exim.h"
 #ifdef EXPERIMENTAL_DCC
+#ifndef WITH_CONTENT_SCAN
+# error EXPERIMENTAL_DCC requires WITH_CONTENT_SCAN
+#endif
+
 #include "dcc.h"
 #include "unistd.h"