Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f21d82
)
libext2fs: define PATH_MAX if not provided by the system headers
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 23 Nov 2019 04:26:39 +0000
(23:26 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 23 Nov 2019 04:26:39 +0000
(23:26 -0500)
This is needed to compile on Illumos and its derivatives.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/dirhash.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/dirhash.c
b/lib/ext2fs/dirhash.c
index
d560e20
..
42fe98b
100644
(file)
--- a/
lib/ext2fs/dirhash.c
+++ b/
lib/ext2fs/dirhash.c
@@
-20,6
+20,10
@@
#include "ext2fs.h"
#include "ext2fsP.h"
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
/*
* Keyed 32-bit hash function using TEA in a Davis-Meyer function
* H0 = Key