diff options
Diffstat (limited to 'lib/binary-io.h')
-rw-r--r-- | lib/binary-io.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/binary-io.h b/lib/binary-io.h index 077e3dda0f6..33e3de1d1de 100644 --- a/lib/binary-io.h +++ b/lib/binary-io.h @@ -18,6 +18,11 @@ #ifndef _BINARY_H #define _BINARY_H +/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_UNUSED. */ +#if !_GL_CONFIG_H_INCLUDED + #error "Please include config.h first." +#endif + /* For systems that distinguish between text and binary I/O. O_BINARY is guaranteed by the gnulib <fcntl.h>. */ #include <fcntl.h> @@ -26,9 +31,6 @@ so we include it here first. */ #include <stdio.h> -#ifndef _GL_INLINE_HEADER_BEGIN - #error "Please include config.h first." -#endif _GL_INLINE_HEADER_BEGIN #ifndef BINARY_IO_INLINE # define BINARY_IO_INLINE _GL_INLINE |