* lib/ceil.c (MIN): Undefine before redefining.
* lib/trunc.c (MIN): Likewise.
* lib/round.c (MIN): Likewise.
Include <math.h> first.
+2010-12-24 Bruno Haible <bruno@clisp.org>
+
+ ceil, trunc, round: Fix gcc warnings.
+ * lib/ceil.c (MIN): Undefine before redefining.
+ * lib/trunc.c (MIN): Likewise.
+ * lib/round.c (MIN): Likewise.
+ Include <math.h> first.
+
2010-12-24 Bruno Haible <bruno@clisp.org>
select tests: Avoid failures on OSF/1 5.1.
#include <float.h>
+#undef MIN
+
#ifdef USE_LONG_DOUBLE
# define FUNC ceill
# define DOUBLE long double
#include <config.h>
-#include <float.h>
+/* Specification. */
#include <math.h>
+#include <float.h>
+
+#undef MIN
+
#ifdef USE_LONG_DOUBLE
# define ROUND roundl
# define FLOOR floorl
#include <float.h>
+#undef MIN
+
#ifdef USE_LONG_DOUBLE
# define FUNC truncl
# define DOUBLE long double