From 9de61b560ab6df0ed6ce99c8267fafbde9b00045 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 13 Apr 2006 12:03:12 +0000 Subject: r15072: Last bit of 32/64 bit portabilities fixes for winbind clients and aservers. Strange compiler-fu on 64-bit SLES9 says sizeof(time_t) == 4 but the memory alignment is on 8 bytes. Change time_t to uint32 to fix alignment. Remove 'char **gr_mem' from struct winbindd_gr since it was not being used. (This used to be commit b68e66d5c4f7348e674b8a009656ebfbbc06e288) --- source3/nsswitch/winbind_nss_config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/nsswitch/winbind_nss_config.h') diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h index fbd1bd22b3..0400b2fb36 100644 --- a/source3/nsswitch/winbind_nss_config.h +++ b/source3/nsswitch/winbind_nss_config.h @@ -24,6 +24,12 @@ #ifndef _WINBIND_NSS_CONFIG_H #define _WINBIND_NSS_CONFIG_H +/* shutup the compiler warnings due to krb5.h on i + 64-bit sles9 */ +#ifdef SIZEOF_LONG +#undef SIZEOF_LONG +#endif + /* Include header files from data in config.h file */ #ifndef NO_CONFIG_H -- cgit