diff options
author | Eric Blake <ebb9@byu.net> | 2009-09-26 16:28:24 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-09-26 16:29:58 -0600 |
commit | 35cea22b36cbb5906e0387516feb28c3d1ef3ec3 (patch) | |
tree | 61f2a0fb1ec6fc2090bfb37a641248de4dfe9d42 /lib/getopt.in.h | |
parent | a5c314221f0de1ba5cab590ba47a515fcd517d90 (diff) | |
download | gnulib-35cea22b36cbb5906e0387516feb28c3d1ef3ec3.tar.gz |
argp: fix compilation of getopt
* lib/getopt.in.h (includes): Use different guard than glibc.
Reported by Sergey Poznyakoff.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/getopt.in.h')
-rw-r--r-- | lib/getopt.in.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/getopt.in.h b/lib/getopt.in.h index e23259c518..15c213f79b 100644 --- a/lib/getopt.in.h +++ b/lib/getopt.in.h @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _GETOPT_H +#ifndef _GL_GETOPT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ @@ -27,10 +27,10 @@ # @INCLUDE_NEXT@ @NEXT_GETOPT_H@ #endif -#ifndef _GETOPT_H +#ifndef _GL_GETOPT_H #ifndef __need_getopt -# define _GETOPT_H 1 +# define _GL_GETOPT_H 1 #endif /* Standalone applications should #define __GETOPT_PREFIX to an |