[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[Samba.git] / source / lib / replace / system / time.h
blobe7c88f133d40de5a3a4ee66ed59107911d4af430
1 #ifndef _system_time_h
2 #define _system_time_h
3 /*
4 Unix SMB/CIFS implementation.
6 time system include wrappers
8 Copyright (C) Andrew Tridgell 2004
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifdef TIME_WITH_SYS_TIME
26 #include <sys/time.h>
27 #include <time.h>
28 #else
29 #ifdef HAVE_SYS_TIME_H
30 #include <sys/time.h>
31 #else
32 #include <time.h>
33 #endif
34 #endif
36 #ifdef HAVE_UTIME_H
37 #include <utime.h>
38 #endif
40 #endif