1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00

r15953: our timegm() replacement still doesn't work, so grab the one from

Heimdal which does work. This should fix most of the rest of the
failures on solaris
This commit is contained in:
Andrew Tridgell
2006-05-30 05:57:43 +00:00
committed by Gerald (Jerry) Carter
parent 5a065b9225
commit acfaa98b5e
4 changed files with 33 additions and 40 deletions

View File

@@ -112,6 +112,10 @@ int vasprintf(char **ptr, const char *format, va_list ap);
#define bzero(a,b) memset((a),'\0',(b))
#endif
#ifndef HAVE_TIMEGM
time_t timegm(struct tm *tm);
#endif
#ifndef PRINTF_ATTRIBUTE
#if __GNUC__ >= 3
/** Use gcc attribute to check printf fns. a1 is the 1-based index of