summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/miscfn.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/miscfn.h b/misc/miscfn.h
index 67e683d62..bd033a067 100644
--- a/misc/miscfn.h
+++ b/misc/miscfn.h
@@ -39,4 +39,15 @@ char *realpath(char *path, char resolved_path[]);
char *realpath(const char *path, char resolved_path []);
#endif
+#if NEED_TIMEZONE
+#include <sys/stdtypes.h>
+extern time_t timezone;
+#endif
+
+#if NEED_MYREALLOC
+#include <sys/stdtypes.h>
+#define realloc(ptr,size) myrealloc(ptr,size)
+extern void *myrealloc(void *, size_t);
+#endif
+
#endif