]> Savannah Git Hosting - gnulib.git/commitdiff
c-strtod: include <stdio.h>
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 May 2024 06:32:14 +0000 (23:32 -0700)
committerBruno Haible <bruno@clisp.org>
Wed, 22 May 2024 09:07:28 +0000 (11:07 +0200)
* lib/c-strtod.c: Include <stdio.h>, since we call sprintf.
Problem found by Oracle Developer Studio 12.6 on Solaris 10.

ChangeLog
lib/c-strtod.c

index 0a060a444b6bdfcb0edf45e0be7f0685baab4cf7..ddc6b6bfad6964cd175136d74a8bf4d6ed425875 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       c-strtod: include <stdio.h>
+       * lib/c-strtod.c: Include <stdio.h>, since we call sprintf.
+       Problem found by Oracle Developer Studio 12.6 on Solaris 10.
+
 2024-05-20  Bruno Haible  <bruno@clisp.org>
 
        vasnprintf: Don't abort for pseudo-denormal arguments on macOS 12.
index 0a22eed175ad6f72a43c28a9d479d5212eedac8c..d7e43ac31bec1b4d4647f96c6034b1f289217e2b 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 #include <locale.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>