From bb5badf17087099dd9140f812778f7a8615b2111 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Mon, 31 Oct 2016 16:46:57 -0400 Subject: 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. --- locale/weight.h | 2 ++ locale/weightwc.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'locale') diff --git a/locale/weight.h b/locale/weight.h index 1f61f01..19b8e4a 100644 --- a/locale/weight.h +++ b/locale/weight.h @@ -19,6 +19,8 @@ #ifndef _WEIGHT_H_ #define _WEIGHT_H_ 1 +#include + /* Find index of weight. */ static inline int32_t __attribute__ ((always_inline)) findidx (const int32_t *table, diff --git a/locale/weightwc.h b/locale/weightwc.h index e42ce13..ae18965 100644 --- a/locale/weightwc.h +++ b/locale/weightwc.h @@ -19,6 +19,8 @@ #ifndef _WEIGHTWC_H_ #define _WEIGHTWC_H_ 1 +#include + /* Find index of weight. */ static inline int32_t __attribute__ ((always_inline)) findidx (const int32_t *table, -- cgit v1.1