diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-05 02:03:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:09 -0500 |
commit | a587277aa31dcb9dc46e02e165e2c4ebb6e2be1a (patch) | |
tree | ba740d8c99f1e10e53a17a2325255db0d547bec4 /source4/lib/replace/timegm.c | |
parent | d9319068f5745af01619d46468eca9cc9b57b5be (diff) | |
download | samba-a587277aa31dcb9dc46e02e165e2c4ebb6e2be1a.tar.gz samba-a587277aa31dcb9dc46e02e165e2c4ebb6e2be1a.tar.bz2 samba-a587277aa31dcb9dc46e02e165e2c4ebb6e2be1a.zip |
r18055: aix needs time.h for timegm.c to compile
(This used to be commit 1c91de687f0078100aa9de9111416c9fced45990)
Diffstat (limited to 'source4/lib/replace/timegm.c')
-rw-r--r-- | source4/lib/replace/timegm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/replace/timegm.c b/source4/lib/replace/timegm.c index 1c9a0e4165..c2746db1a4 100644 --- a/source4/lib/replace/timegm.c +++ b/source4/lib/replace/timegm.c @@ -40,6 +40,14 @@ #ifndef HAVE_TIMEGM +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif + +#ifdef TIME_H +#include <time.h> +#endif + static int is_leap(unsigned y) { y += 1900; |