gbranden pushed a commit to branch master
in repository groff.

commit 285b7d6c30160b6c2246477216f268c552aeb3a6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat May 16 06:15:01 2026 -0500

    [preconv]: Preprocessor-include "<strings.h>".
    
    * src/preproc/preconv/preconv.cpp: Preprocessor-include "<strings.h>"
      header file, since strcasecmp(3) is used.
---
 ChangeLog                       | 5 +++++
 src/preproc/preconv/preconv.cpp | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 7bf81a79d..234147409 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-16  G. Branden Robinson <[email protected]>
+
+       * src/preproc/preconv/preconv.cpp: Preprocessor-include
+       "<strings.h>" header file, since strcasecmp(3) is used.
+
 2026-05-16  G. Branden Robinson <[email protected]>
 
        * src/devices/grohtml/post-html.cpp
diff --git a/src/preproc/preconv/preconv.cpp b/src/preproc/preconv/preconv.cpp
index 7203e49b4..05263125a 100644
--- a/src/preproc/preconv/preconv.cpp
+++ b/src/preproc/preconv/preconv.cpp
@@ -39,7 +39,9 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>. */
                   // getc(), printf(), putchar(), rewind(), SEEK_SET,
                   // stderr, stdin, stdout, ungetc()
 #include <stdlib.h> // calloc(), exit(), EXIT_SUCCESS, free(), malloc()
-#include <string.h> // sterror()
+#include <string.h> // strchr(), strcmp(), strcpy(), sterror(),
+                   // strlen(), strncpy(), strstr()
+#include <strings.h> // strcasecmp()
 #include <sys/stat.h> // fstat(), stat
 #ifdef HAVE_UCHARDET
 #include <uchardet/uchardet.h>

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to