]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 May 2024 06:33:39 +0000 (23:33 -0700)
* 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 f94a39a2bbae5956696d4ba9c1b1681807ff8190..1c85c92f9f46d1eef26d650e5814fa07a7c2837b 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  Collin Funk  <collin.funk1@gmail.com>
 
        getusershell: Split file by lines instead of spaces.
index 9551aebe37e22033af7908be78b0aa20622aeca7..4089ccd79b8a8fbeb58f22472e85bf679cb8fdec 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 #include <locale.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>