Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / transports / pipe.c
index 157d2368fd5f6fc583bcf979b88a7552900af481..60a20c8fe87d7500ba418a8e52a700b32df901c2 100644 (file)
@@ -9,6 +9,8 @@
 
 
 #include "../exim.h"
+
+#ifdef TRANSPORT_PIPE  /* Remainder of file */
 #include "pipe.h"
 
 #ifdef HAVE_SETCLASSRESOURCES
@@ -1131,4 +1133,5 @@ return FALSE;
 }
 
 #endif /*!MACRO_PREDEF*/
+#endif /*TRASPORT_PIPE*/
 /* End of transport/pipe.c */