Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / transports / lmtp.c
index f3f9088363141d18142b546776a863a4834a272a..eff0dc79d905a177844f21e7e8e8d4242f8ff029 100644 (file)
@@ -9,6 +9,8 @@
 
 
 #include "../exim.h"
+#ifdef TRANSPORT_LMTP          /* Remainder of file */
+
 #include "lmtp.h"
 
 #define PENDING_OK 256
@@ -807,4 +809,5 @@ MINUS_N:
 }
 
 #endif /*!MACRO_PREDEF*/
+#endif /*TRANSPORT_LMTP*/
 /* End of transport/lmtp.c */