projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe737e
)
tests: ls/getxattr-speedup: include <sys/types.h> for older headers
author
Jérémy Compostella
<jeremy.compostella@gmail.com>
Sun, 19 Feb 2012 14:38:15 +0000
(15:38 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Sun, 19 Feb 2012 17:43:53 +0000
(18:43 +0100)
Modern <stdio.h> provides ssize_t, but the one from Debian's
libc6-dev 2.11.2-10 apparently does not.
* tests/ls/getxattr-speedup: Also include <sys/types.h>.
tests/ls/getxattr-speedup
patch
|
blob
|
history
diff --git
a/tests/ls/getxattr-speedup
b/tests/ls/getxattr-speedup
index
2b7a1f3
..
a35dd69
100755
(executable)
--- a/
tests/ls/getxattr-speedup
+++ b/
tests/ls/getxattr-speedup
@@
-28,6
+28,7
@@
print_ver_ ls
cat > k.c <<'EOF' || framework_failure_
#include <errno.h>
#include <stdio.h>
+#include <sys/types.h>
static unsigned long int n_calls;