summaryrefslogtreecommitdiffstats
path: root/include/timeutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/timeutils.h')
-rw-r--r--include/timeutils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/timeutils.h b/include/timeutils.h
index 00d18200d..85fc228db 100644
--- a/include/timeutils.h
+++ b/include/timeutils.h
@@ -78,4 +78,8 @@ int time_is_thisyear(const time_t *t, struct timeval *now);
int strtime_short(const time_t *t, struct timeval *now, int flags, char *buf, size_t bufsz);
+#ifndef HAVE_TIMEGM
+extern time_t timegm(struct tm *tm);
+#endif
+
#endif /* UTIL_LINUX_TIME_UTIL_H */