X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Futimecmp.c;h=e0bfcb63520b35605f66625099158b36529d9174;hb=a0a86efb418fd595d9154cf6ca70c78ea777afb9;hp=9d07e9fd3ea3ad5f794ecb20b7025eda4c997b31;hpb=52116d1510321c620865d5643d9fa6dd17afbf48;p=gnulib.git diff --git a/lib/utimecmp.c b/lib/utimecmp.c index 9d07e9fd3..e0bfcb635 100644 --- a/lib/utimecmp.c +++ b/lib/utimecmp.c @@ -1,6 +1,6 @@ /* utimecmp.c -- compare file time stamps - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,21 +18,13 @@ /* Written by Paul Eggert. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include #include "utimecmp.h" -#if HAVE_INTTYPES_H -# include -#endif -#if HAVE_STDINT_H -# include -#endif - #include #include +#include #include #include "hash.h" #include "intprops.h" @@ -46,10 +38,6 @@ # define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif -#ifndef SIZE_MAX -# define SIZE_MAX ((size_t) -1) -#endif - enum { BILLION = 1000 * 1000 * 1000 }; /* Best possible resolution that utimens can set and stat can return,