summaryrefslogtreecommitdiff
path: root/lib/binary-io.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-05-14 18:51:22 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-05-14 19:28:09 -0700
commitb77d357ea356134fbc159797b34498b7a0006dc9 (patch)
tree1a1d03db84c1b2aac7f6e8dafcdc3e952192c854 /lib/binary-io.h
parente7dc30c1d58c602ccc4b7b9c98c0ea07f5631675 (diff)
downloademacs-b77d357ea356134fbc159797b34498b7a0006dc9.tar.gz
Update from Gnulib by running admin/merge-gnulib
* lib/dirent-private.h, m4/codeset.m4, m4/locale-fr.m4, m4/musl.m4: New files, from Gnulib.
Diffstat (limited to 'lib/binary-io.h')
-rw-r--r--lib/binary-io.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/binary-io.h b/lib/binary-io.h
index 6f4db253354..855d6f819f0 100644
--- a/lib/binary-io.h
+++ b/lib/binary-io.h
@@ -17,6 +17,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>
@@ -25,9 +30,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