Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / transports / appendfile.c
index 72c96f0d0a5ae061e1933797ae26b51b7f6193eb..0279659f255663a471fa7a06736bedb843ceda08 100644 (file)
@@ -9,6 +9,8 @@
 
 
 #include "../exim.h"
+
+#ifdef TRANSPORT_APPENDFILE    /* Remainder of file */
 #include "appendfile.h"
 
 #ifdef SUPPORT_MAILDIR
@@ -3326,4 +3328,5 @@ ret_panic:
 }
 
 #endif /*!MACRO_PREDEF*/
+#endif /*TRANSPORT_APPENDFILE*/
 /* End of transport/appendfile.c */