summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
authorJérémy Compostella <jeremy.compostella@gmail.com>2012-02-19 15:38:15 +0100
committerJim Meyering <meyering@redhat.com>2012-02-19 18:43:53 +0100
commit933989eca67bd82f011595937002cc284c98772d (patch)
treea244237044b27708a1993bf4c5cfe80fab9faf5f /tests/ls
parent2fe737e595058acb4c22f8aaaeb574b168b9d6f1 (diff)
downloadcoreutils-933989eca67bd82f011595937002cc284c98772d.tar.xz
tests: ls/getxattr-speedup: include <sys/types.h> for older headers
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>.
Diffstat (limited to 'tests/ls')
-rwxr-xr-xtests/ls/getxattr-speedup1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ls/getxattr-speedup b/tests/ls/getxattr-speedup
index 2b7a1f3ac..a35dd695a 100755
--- 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;