r22215: add strptime replacement to libreplace based on the patch
[samba.git] / source / lib / replace / replace.h
index b36a35033562d033b9a0a9f40af504508b8f528c..7d6dcec7f1271cc906765e56f767b41aecc9a333 100644 (file)
@@ -280,6 +280,12 @@ void rep_vsyslog (int facility_priority, const char *format, va_list arglist) PR
 typedef int (*comparison_fn_t)(const void *, const void *);
 #endif
 
+#ifdef REPLACE_STRPTIME
+#define strptime rep_strptime
+struct tm;
+char *rep_strptime(const char *buf, const char *format, struct tm *tm);
+#endif
+
 /* Load header file for dynamic linking stuff */
 #ifdef HAVE_DLFCN_H
 #include <dlfcn.h>