diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-10-30 12:03:40 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-10-30 12:03:40 +0000 |
commit | 809f740166e4c71e7b7027c626336d1e4c58f485 (patch) | |
tree | 92ea2d7d81f17360eb2af6b102abac89f4ea4e56 /source3/include | |
parent | 567d1d7c211925e82b9384c2c3ada527ab5334c8 (diff) | |
download | samba-809f740166e4c71e7b7027c626336d1e4c58f485.tar.gz samba-809f740166e4c71e7b7027c626336d1e4c58f485.tar.bz2 samba-809f740166e4c71e7b7027c626336d1e4c58f485.zip |
added a timegm() function for systems that don't have it
(This used to be commit 732bc4519f1119100607cc84400e8f84e0c0ba9d)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 01b9f14979..a7dd967bf3 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1165,5 +1165,9 @@ int asprintf(char **,const char *, ...) PRINTF_ATTRIBUTE(2,3); #define VA_COPY(dest, src) (dest) = (src) #endif +#ifndef HAVE_TIMEGM +time_t timegm(struct tm *tm); +#endif + #endif /* _INCLUDES_H */ |