Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / routers / accept.c
index 8b72bfac159f95d58b5984dae133ecb11a923bcf..9766e5e103140c05ab0b83d47e886ce0c1ea3595 100644 (file)
@@ -9,6 +9,8 @@
 
 
 #include "../exim.h"
+
+#ifdef ROUTER_ACCEPT           /* Remainder of file */
 #include "rf_functions.h"
 #include "accept.h"
 
@@ -137,4 +139,5 @@ return rf_queue_add(addr, addr_local, addr_remote, rblock, pw)? OK : DEFER;
 }
 
 #endif /*!MACRO_PREDEF*/
+#endif /*ROUTER_ACCEPT*/
 /* End of routers/accept.c */