diff options
Diffstat (limited to 'lib/argp-fmtstream.h')
-rw-r--r-- | lib/argp-fmtstream.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/argp-fmtstream.h b/lib/argp-fmtstream.h index 3a42e372f3..5738551255 100644 --- a/lib/argp-fmtstream.h +++ b/lib/argp-fmtstream.h @@ -24,6 +24,12 @@ #ifndef _ARGP_FMTSTREAM_H #define _ARGP_FMTSTREAM_H +/* This file uses _GL_INLINE_HEADER_BEGIN, __GL_INLINE, _GL_ATTRIBUTE_DEALLOC, + _GL_ATTRIBUTE_FORMAT. */ +#if !_LIBC && !_GL_CONFIG_H_INCLUDED + #error "Please include config.h first." +#endif + #include <stdio.h> #include <string.h> #include <unistd.h> @@ -187,9 +193,6 @@ extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount); #define __argp_fmtstream_point argp_fmtstream_point #define __argp_fmtstream_update _argp_fmtstream_update #define __argp_fmtstream_ensure _argp_fmtstream_ensure -#ifndef _GL_INLINE_HEADER_BEGIN - #error "Please include config.h first." -#endif _GL_INLINE_HEADER_BEGIN #ifndef ARGP_FS_EI # define ARGP_FS_EI _GL_INLINE |