X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftrunc.c;h=73a33456111a072d601dc649c66dec7255166593;hb=4662b82a3d9015359bb7a75bc95ecf2f57f841e1;hp=350459b2e3d418471cee5c126b0ee3959e036e0c;hpb=7d056a378ac5faf9b48b85c8dffef5e85d9f0a88;p=gnulib.git diff --git a/lib/trunc.c b/lib/trunc.c index 350459b2e..73a334561 100644 --- a/lib/trunc.c +++ b/lib/trunc.c @@ -1,5 +1,5 @@ /* Round towards 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 @@ -16,13 +16,17 @@ /* Written by Bruno Haible , 2007. */ -#include +#if ! defined USE_LONG_DOUBLE +# include +#endif /* Specification. */ #include #include +#undef MIN + #ifdef USE_LONG_DOUBLE # define FUNC truncl # define DOUBLE long double