X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fround.c;h=a6c778e7a30e9d5a2c58e032134d4ee848cf8c11;hb=f90fd0e8e5816491d8bb6ff68a250390815022ec;hp=07ec4cdf8c2ee08087b27af8e8ba0d9517a28b46;hpb=2adbc9c81f9a8b3681f44c3103d2ab617506f6f2;p=gnulib.git diff --git a/lib/round.c b/lib/round.c index 07ec4cdf8..a6c778e7a 100644 --- a/lib/round.c +++ b/lib/round.c @@ -1,5 +1,5 @@ /* Round toward nearest, breaking ties away from zero. - Copyright (C) 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2007, 2010-2011 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,11 +18,17 @@ /* Written by Ben Pfaff , 2007. Based heavily on code by Bruno Haible. */ -#include +#if ! defined USE_LONG_DOUBLE +# include +#endif -#include +/* Specification. */ #include +#include + +#undef MIN + #ifdef USE_LONG_DOUBLE # define ROUND roundl # define FLOOR floorl