Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1348267
)
Include limits.h (if it exists), which defines NAME_MAX on some
author
Wayne Davison
<wayned@samba.org>
Wed, 21 Sep 2005 17:38:44 +0000
(17:38 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 21 Sep 2005 17:38:44 +0000
(17:38 +0000)
systems.
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
5a86d08
..
1712b2c
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-319,6
+319,10
@@
enum msgcode {
#include <compat.h>
#endif
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
+
#include <assert.h>
#include "lib/pool_alloc.h"