git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340b7fd
)
nsswitch/wb_common.c: fix build without HAVE_PTHREAD
author
Stefan Metzmacher
<metze@samba.org>
Thu, 7 Sep 2023 14:02:32 +0000
(16:02 +0200)
committer
Jule Anger
<janger@samba.org>
Mon, 18 Sep 2023 15:59:16 +0000
(15:59 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15464
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
4faf806412c4408db25448b1f67c09359ec2f81f
)
nsswitch/wb_common.c
patch
|
blob
|
history
diff --git
a/nsswitch/wb_common.c
b/nsswitch/wb_common.c
index d569e761ebe4a0193124e49446042a7f793d1952..c382a44c1209f48442c71e5338845f25ef43d130 100644
(file)
--- a/
nsswitch/wb_common.c
+++ b/
nsswitch/wb_common.c
@@
-104,7
+104,6
@@
static void wb_thread_ctx_initialize(void)
wb_thread_ctx_destructor);
assert(ret == 0);
}
-#endif
static struct winbindd_context *get_wb_thread_ctx(void)
{
@@
-139,6
+138,7
@@
static struct winbindd_context *get_wb_thread_ctx(void)
}
return ctx;
}
+#endif /* HAVE_PTHREAD */
static struct winbindd_context *get_wb_global_ctx(void)
{