about summary refs log tree commit diff
path: root/locale/weightwc.h
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2016-10-31 16:46:57 -0400
committerCarlos O'Donell <carlos@redhat.com>2016-10-31 16:46:57 -0400
commitbb5badf17087099dd9140f812778f7a8615b2111 (patch)
tree47313628e27200f77a7da6881af721fca2f4bdb5 /locale/weightwc.h
parent561ff1ec4251c8dca011dbcf7500b3970b2cf59b (diff)
downloadglibc-bb5badf17087099dd9140f812778f7a8615b2111.tar.gz
glibc-bb5badf17087099dd9140f812778f7a8615b2111.tar.xz
glibc-bb5badf17087099dd9140f812778f7a8615b2111.zip
Bug 20729: Include libc-internal.h where required.
The original fix for bug 20729 failed to include
libc-internal.h in the files that needed them and
this caused build failures on machines that don't
implicitly include this header. This commit fixes
that by following the consensus rule that a header,
if needed, should always be directly included.
Diffstat (limited to 'locale/weightwc.h')
-rw-r--r--locale/weightwc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/weightwc.h b/locale/weightwc.h
index e42ce13241..ae189658eb 100644
--- a/locale/weightwc.h
+++ b/locale/weightwc.h
@@ -19,6 +19,8 @@
 #ifndef _WEIGHTWC_H_
 #define _WEIGHTWC_H_	1
 
+#include <libc-internal.h>
+
 /* Find index of weight.  */
 static inline int32_t __attribute__ ((always_inline))
 findidx (const int32_t *table,