about summary refs log tree commit diff
path: root/nss/grp-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/grp-lookup.c')
-rw-r--r--nss/grp-lookup.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/nss/grp-lookup.c b/nss/grp-lookup.c
index 8cb00aa22f..7c019f85b2 100644
--- a/nss/grp-lookup.c
+++ b/nss/grp-lookup.c
@@ -16,7 +16,13 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <config.h>
+
 #define DATABASE_NAME group
-#define DEFAULT_CONFIG "compat [NOTFOUND=return] files"
+#ifdef LINK_OBSOLETE_NSL
+# define DEFAULT_CONFIG "compat [NOTFOUND=return] files"
+#else
+# define DEFAULT_CONFIG "files"
+#endif
 
 #include "XXX-lookup.c"