summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-04-13 12:03:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:01 -0500
commit9de61b560ab6df0ed6ce99c8267fafbde9b00045 (patch)
tree3d7957d123d72ade336b79d41b75717b2576fa1f /source3/include
parent87029b8b4ad60042f5044076930dc69b32c72b54 (diff)
downloadsamba-9de61b560ab6df0ed6ce99c8267fafbde9b00045.tar.gz
samba-9de61b560ab6df0ed6ce99c8267fafbde9b00045.tar.bz2
samba-9de61b560ab6df0ed6ce99c8267fafbde9b00045.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1e59f50008..a5f261282c 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -21,6 +21,11 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+/* work around broken krb5.h on sles9 */
+#ifdef SIZEOF_LONG
+#undef SIZEOF_LONG
+#endif
+
#ifndef NO_CONFIG_H /* for some tests */
#include "config.h"
#endif