From a881c318ac27181cb2adca9f95fdfc45e4ec2667 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Thu, 9 Apr 2020 20:21:56 +0200 Subject: [PATCH] Fix FTBFS on hurd-i386 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933015 Signed-off-by: Laurent Bigonville Reviewed-by: Jakub Jelen --- tests/torture.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/torture.c b/tests/torture.c index 9718a8f7..64eb6f8b 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -63,6 +63,10 @@ #define TORTURE_SSHD_CONFIG "sshd/sshd_config" #define TORTURE_PCAP_FILE "socket_trace.pcap" +#ifndef PATH_MAX +# define PATH_MAX 4096 +#endif + static const char torture_rsa_certauth_pub[]= "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCnA2n5vHzZbs/GvRkGloJNV1CXHI" "S5Xnrm05HusUJSWyPq3I1iCMHdYA7oezHa9GCFYbIenaYPy+G6USQRjYQz8SvAZo06"