From: Wayne Davison Date: Wed, 21 Sep 2005 17:38:44 +0000 (+0000) Subject: Include limits.h (if it exists), which defines NAME_MAX on some X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ea8291d8f74e264d2b3c4d65b41584c4951a74bb Include limits.h (if it exists), which defines NAME_MAX on some systems. --- 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"