From patchwork Fri Jul 4 04:17:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 1916 Received: (qmail 2994 invoked by alias); 4 Jul 2014 04:17:24 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 2888 invoked by uid 89); 4 Jul 2014 04:17:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c Message-Id: <20140704041719.D25972C3988@topped-with-meat.com> Date: Thu, 3 Jul 2014 21:17:19 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=SAS9LklOj_gA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=mDV3o1hIAAAA:8 a=PBr76ccvWnlvuJ9haJwA:9 a=CjuIK1q_8ugA:10 a=7BCCZg03jq0A:10 I can't tell how alpha was compiling without this. Maybe before a recent change to the generic file it included the header indirectly? Thanks, Roland * sysdeps/alpha/fpu/s_nearbyint.c: Include . --- a/sysdeps/alpha/fpu/s_nearbyint.c +++ b/sysdeps/alpha/fpu/s_nearbyint.c @@ -16,8 +16,10 @@ License along with the GNU C Library. If not, see . */ +#include + #include -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_1) compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1); #endif