ftoastr: Fix compilation error on Solaris.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Nov 2010 17:10:39 +0000 (18:10 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 27 Nov 2010 17:10:39 +0000 (18:10 +0100)
* lib/ftoastr.c: Include <config.h>.

ChangeLog
lib/ftoastr.c

index 583250b..94b01ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-11-27  Bruno Haible  <bruno@clisp.org>
 
+       ftoastr: Fix compilation error on Solaris.
+       * lib/ftoastr.c: Include <config.h>.
+
+2010-11-27  Bruno Haible  <bruno@clisp.org>
+
        getloadavg: Update documentation.
        * doc/glibc-functions/getloadavg.texi: Mention the Solaris problem.
 
index 6c5ea57..a55b24e 100644 (file)
@@ -25,6 +25,8 @@
    This code relies on sprintf, strtod, etc. operating accurately;
    otherwise, the resulting strings could be inaccurate or too long.  */
 
+#include <config.h>
+
 #include "ftoastr.h"
 
 #include "intprops.h"