]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Build without DHCP
authorAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jun 2016 14:35:23 +0000 (10:35 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jun 2016 14:35:23 +0000 (10:35 -0400)
src/main/modules.c

index e1baac923baf5627fbb35fb81b9311c002cbddc1..885cbee2140cc6823f804b6cf8e1719447f154a3 100644 (file)
@@ -1891,8 +1891,10 @@ int modules_init(CONF_SECTION *config)
        for (cs = cf_subsection_find_next(config, NULL, "server");
             cs != NULL;
             cs = cf_subsection_find_next(config, cs, "server")) {
+#if defined(WITH_DHCP) || defined(WITH_VMPS)
                CONF_SECTION *subcs;
                DICT_ATTR const *da;
+#endif
 
 #ifdef WITH_VMPS
                /*