]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: ls/getxattr-speedup: include <sys/types.h> for older headers
authorJérémy Compostella <jeremy.compostella@gmail.com>
Sun, 19 Feb 2012 14:38:15 +0000 (15:38 +0100)
committerJim 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

index 2b7a1f3acb7a46e30d8bf5e7e748f7a40a8daa3e..a35dd695ac529178d61adf64d4c98b22fcb3857a 100755 (executable)
@@ -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;