diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-02-25 23:18:39 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-02-25 23:18:39 -0500 |
commit | 3134156779108fe8b46e0f4cd60d837572faaa93 (patch) | |
tree | db3da5a5e28ad6c417c3d942b7ea62013c7b8646 /posix | |
parent | 7a270350a9bc3110cd5ba12bbd8c5c8c365e0032 (diff) | |
download | glibc-3134156779108fe8b46e0f4cd60d837572faaa93.tar.gz glibc-3134156779108fe8b46e0f4cd60d837572faaa93.tar.xz glibc-3134156779108fe8b46e0f4cd60d837572faaa93.zip |
First steps to get conformtest fully working
Diffstat (limited to 'posix')
-rw-r--r-- | posix/tar.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/posix/tar.h b/posix/tar.h index 9732d67cb5..be2961ce91 100644 --- a/posix/tar.h +++ b/posix/tar.h @@ -1,5 +1,5 @@ /* Extended tar format from POSIX.1. - Copyright (C) 1992, 1996 Free Software Foundation, Inc. + Copyright (C) 1992, 1996, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by David J. MacKenzie. @@ -20,6 +20,9 @@ #ifndef _TAR_H #define _TAR_H 1 +#include <features.h> + + /* A tar archive consists of 512-byte blocks. Each file in the archive has a header block followed by 0+ data blocks. Two blocks of NUL bytes indicate the end of the archive. */ @@ -70,7 +73,9 @@ /* The bits in mode: */ #define TSUID 04000 #define TSGID 02000 -#define TSVTX 01000 +#ifdef __USE_XOPEN +# define TSVTX 01000 +#endif #define TUREAD 00400 #define TUWRITE 00200 #define TUEXEC 00100 |