]> 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 08:56:22 +0000 (10:56 +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 2c0e56722f283339fb60deedabf2cc8af98f98c0..39bab4e5b5919fc6bb7253c95e1d106af02a9b92 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-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        boot-time: port to Alpine 3.20.0_rc2
index 0a22eed175ad6f72a43c28a9d479d5212eedac8c..d7e43ac31bec1b4d4647f96c6034b1f289217e2b 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 #include <locale.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>