00001 #ifndef _system_time_h 00002 #define _system_time_h 00003 /* 00004 Unix SMB/CIFS implementation. 00005 00006 time system include wrappers 00007 00008 Copyright (C) Andrew Tridgell 2004 00009 00010 This program is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; either version 2 of the License, or 00013 (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with this program; if not, write to the Free Software 00022 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00023 */ 00024 00025 #ifdef TIME_WITH_SYS_TIME 00026 #include <sys/time.h> 00027 #include <time.h> 00028 #else 00029 #ifdef HAVE_SYS_TIME_H 00030 #include <sys/time.h> 00031 #else 00032 #include <time.h> 00033 #endif 00034 #endif 00035 00036 #ifdef HAVE_UTIME_H 00037 #include <utime.h> 00038 #endif 00039 00040 #endif