From ea8291d8f74e264d2b3c4d65b41584c4951a74bb Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 21 Sep 2005 17:38:44 +0000 Subject: [PATCH] Include limits.h (if it exists), which defines NAME_MAX on some systems. --- rsync.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rsync.h b/rsync.h index 5a86d083..1712b2c8 100644 --- a/rsync.h +++ b/rsync.h @@ -319,6 +319,10 @@ enum msgcode { #include #endif +#ifdef HAVE_LIMITS_H +# include +#endif + #include #include "lib/pool_alloc.h" -- 2.34.1