git: 375fdb6e161e - stable/13 - libc: Fix build with -DNS_REREAD_CONF.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Sat, 01 Jan 2022 00:26:47 UTC
The branch stable/13 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=375fdb6e161ea78a957314efeecd5ee0654a2793

commit 375fdb6e161ea78a957314efeecd5ee0654a2793
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-12-29 22:00:17 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-01-01 00:26:43 +0000

    libc: Fix build with -DNS_REREAD_CONF.
    
    MFC after:      3 days
    
    (cherry picked from commit 62ed2d0152dce6da883fef753e0995e6d85e0cf1)
---
 lib/libc/net/nsdispatch.c | 2 ++
 1 file changed, 2 insertions(+)

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;