Avoid a GNUism, POSIX strncasecmp() is declarted in strings.h.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 21 Sep 2024 02:05:25 +0000 (22:05 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 21 Sep 2024 02:05:25 +0000 (22:05 -0400)
misc.c

diff --git a/misc.c b/misc.c
index af887374d51c7cb0857bdbeb8f8ec03a23c4242c..7760cc587083e22bb9e2a31f8728dbdaeb17500d 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -12,6 +12,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include <sys/time.h>
 #include <unistd.h>