summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--libio/bits/libio-ldbl.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cd6fc15767..75f1a1a14c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-31 Zack Weinberg <zackw@panix.com>
+
+ * libio/bits/libio-ldbl.h: Correct check for improper
+ inclusion. Add own multiple include guard.
+
2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
Dmitry V. Levin <ldv@altlinux.org>
diff --git a/libio/bits/libio-ldbl.h b/libio/bits/libio-ldbl.h
index f238550e4b..b5fd97e359 100644
--- a/libio/bits/libio-ldbl.h
+++ b/libio/bits/libio-ldbl.h
@@ -16,9 +16,14 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#ifndef _IO_STDIO_H
+#ifndef _BITS_LIBIO_LDBL_H
+#define _BITS_LIBIO_LDBL_H 1
+
+#ifndef _BITS_LIBIO_H
# error "Never include <bits/libio-ldbl.h> directly; use <libio.h> instead."
#endif
__LDBL_REDIR_DECL (_IO_vfscanf)
__LDBL_REDIR_DECL (_IO_vfprintf)
+
+#endif