diff options
author | Alexander Motin <mav@FreeBSD.org> | 2021-12-29 22:00:17 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2022-01-01 00:26:43 +0000 |
commit | 375fdb6e161ea78a957314efeecd5ee0654a2793 (patch) | |
tree | 1f80825530977424d5ca210be5d199591854bd64 | |
parent | 2f9116e4804d6332c85ee6cd362263594b2d5680 (diff) |
libc: Fix build with -DNS_REREAD_CONF.
MFC after: 3 days
(cherry picked from commit 62ed2d0152dce6da883fef753e0995e6d85e0cf1)
-rw-r--r-- | lib/libc/net/nsdispatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/net/nsdispatch.c b/lib/libc/net/nsdispatch.c index b0f80d079b0b..ada7ac606e15 100644 --- a/lib/libc/net/nsdispatch.c +++ b/lib/libc/net/nsdispatch.c @@ -335,7 +335,9 @@ static int nss_configure(void) { static time_t confmod; +#ifndef NS_REREAD_CONF static int already_initialized = 0; +#endif struct stat statbuf; int result, isthreaded; const char *path; |