summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-05-30 05:57:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:44 -0500
commit0a1a19d9d95b5adbe6c3dd3ed689ce7e3b43ab12 (patch)
treefdce0cec565cce5cd12563682d07a95de7cfb5ef /source4/lib/replace/replace.h
parent86f86f99efa44037e31a773fb561eca0c9d31d2a (diff)
downloadsamba-0a1a19d9d95b5adbe6c3dd3ed689ce7e3b43ab12.tar.gz
samba-0a1a19d9d95b5adbe6c3dd3ed689ce7e3b43ab12.tar.bz2
samba-0a1a19d9d95b5adbe6c3dd3ed689ce7e3b43ab12.zip
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 used to be commit acfaa98b5ea686feb81350baf09b3f4480f96edc)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 7a1c4b5ce7..f9d67fb2ec 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -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