]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
tcpwrap: If tcpwrap support isn't built, don't add its service to config.
authorTimo Sirainen <tss@iki.fi>
Thu, 25 Mar 2010 18:04:58 +0000 (20:04 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 25 Mar 2010 18:04:58 +0000 (20:04 +0200)
--HG--
branch : HEAD

src/util/tcpwrap-settings.c

index f22724459e6e8114108918f857c2521f0eec3ee2..04fc4a4986161117b65faeaa0133f50b16c79f5f 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <stddef.h>
 
+#ifdef HAVE_LIBWRAP
 struct service_settings tcpwrap_service_settings = {
        .name = "tcpwrap",
        .protocol = "",
@@ -30,3 +31,4 @@ struct service_settings tcpwrap_service_settings = {
        .fifo_listeners = ARRAY_INIT,
        .inet_listeners = ARRAY_INIT
 };
+#endif