summaryrefslogtreecommitdiff
path: root/source3/nsswitch/nss_info_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/nss_info_template.c')
-rw-r--r--source3/nsswitch/nss_info_template.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nsswitch/nss_info_template.c b/source3/nsswitch/nss_info_template.c
index e1076fbeaf..1b644d7b35 100644
--- a/source3/nsswitch/nss_info_template.c
+++ b/source3/nsswitch/nss_info_template.c
@@ -20,6 +20,8 @@
Boston, MA 02111-1307, USA.
*/
+#ifdef WITH_ADS
+
#include "includes.h"
#include "nss_info.h"
@@ -82,3 +84,5 @@ NTSTATUS nss_info_template_init( void )
"template",
&nss_template_methods);
}
+
+#endif /* WITH_ADS */