]> git.ipfire.org Git - thirdparty/glibc.git/commit
nss: Fix build error with --disable-nscd
authorCooper Qu <cooper.qu@linux.alibaba.com>
Tue, 13 Jul 2021 12:50:40 +0000 (20:50 +0800)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 14 Jul 2021 08:17:49 +0000 (10:17 +0200)
commit135425a1dd50cbe2b9db0628d6c2b36c7889f30b
tree5a6323bb24e7308dbfda51c281e4abafed0ebdef
parentd7fe71d8424e2eb6230f264d30323a696cf54114
nss: Fix build error with --disable-nscd

The error is as follows:
nss_module.c: In function 'module_load_nss_files':
nss_module.c:117:7: error: 'is_nscd' undeclared (first use in this function)
  117 |   if (is_nscd)
      |       ^~~~~~~
nss_module.c:117:7: note: each undeclared identifier is reported only once for each function it appears in
nss_module.c:119:51: error: 'nscd_init_cb' undeclared (first use in this function); did you mean 'nscd_init'?
  119 |       void (*cb) (size_t, struct traced_file *) = nscd_init_cb;
      |                                                   ^~~~~~~~~~~~
      |                                                   nscd_init
nss/nss_module.c