summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system/time.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-10 11:57:16 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:42:46 +0100
commit6876d2613da8e579146040babd33e71fc1889d46 (patch)
tree81e4d31f43d9f1773a9c74b9c172d66a9388166e /source4/lib/replace/system/time.h
parentfa7608481a33c9e3907306a5d44bcea94d255f3b (diff)
downloadsamba-6876d2613da8e579146040babd33e71fc1889d46.tar.gz
samba-6876d2613da8e579146040babd33e71fc1889d46.tar.bz2
samba-6876d2613da8e579146040babd33e71fc1889d46.zip
r25601: replace.h should never imply any "system/*.h"
(here it's "system/time.h") metze (This used to be commit 00467c25930a527eb9831cfd893bd8e217ca4f74)
Diffstat (limited to 'source4/lib/replace/system/time.h')
-rw-r--r--source4/lib/replace/system/time.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/lib/replace/system/time.h b/source4/lib/replace/system/time.h
index 6bbb6b15bb..036812ab8f 100644
--- a/source4/lib/replace/system/time.h
+++ b/source4/lib/replace/system/time.h
@@ -41,4 +41,14 @@
#include <utime.h>
#endif
+#ifndef HAVE_MKTIME
+/* define is in "replace.h" */
+time_t rep_mktime(struct tm *t);
+#endif
+
+#ifndef HAVE_TIMEGM
+/* define is in "replace.h" */
+time_t rep_timegm(struct tm *tm);
+#endif
+
#endif