Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: include <string.h> in zsh_cv_rlim_t_is_quad_t test



---

Reported in https://bugs.gentoo.org/924725 (sort of). I can't test this
myself because zsh_cv_rlim_t_is_longer is no on my system, but I can't
really imagine this change breaking anything. The two other uses of
strcmp in configure.ac do include string.h without any checks.

 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index d02abe7ce1..822338eab7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1847,6 +1847,7 @@ if test x$zsh_cv_rlim_t_is_longer = xyes; then
 #include <sys/time.h>
 #endif
 #include <stdio.h>
+#include <string.h>
 #include <sys/resource.h>
 int main() {
   struct rlimit r;
-- 
2.38.1





Messages sorted by: Reverse Date, Date, Thread, Author