diff options
Diffstat (limited to 'nsswitch/wb_common.c')
-rw-r--r-- | nsswitch/wb_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/wb_common.c b/nsswitch/wb_common.c index 139f0106669..da1a84476e8 100644 --- a/nsswitch/wb_common.c +++ b/nsswitch/wb_common.c @@ -88,7 +88,7 @@ static void winbind_close_sock(struct winbindd_context *ctx) /* Destructor for global context to ensure fd is closed */ -#if HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR +#if HAVE_DESTRUCTOR_ATTRIBUTE __attribute__((destructor)) #endif static void winbind_destructor(void) |