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
- X-seq: zsh-workers 55274
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: include <string.h> in zsh_cv_rlim_t_is_quad_t test
- Date: Tue, 17 Nov 2026 08:58:11 +0100
- Archived-at: <https://zsh.org/workers/55274>
- List-id: <zsh-workers.zsh.org>
---
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