Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / routers / iplookup.c
index f9966bcc0260f9fc21ecf35c0d92ebdfe99a72b5..b88212e5c557b97e839b79f1062462b070a2e3dd 100644 (file)
@@ -9,6 +9,8 @@
 
 
 #include "../exim.h"
+
+#ifdef ROUTER_IPLOOKUP         /* Remainder of file */
 #include "rf_functions.h"
 #include "iplookup.h"
 
@@ -414,5 +416,6 @@ if (rc != OK) return rc;
 return OK;
 }
 
-#endif   /*!MACRO_PREDEF*/
+#endif /*!MACRO_PREDEF*/
+#endif /*ROUTER_IPLOOKUP*/
 /* End of routers/iplookup.c */