From patchwork Fri Nov 4 16:47:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 691326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t9SSS6G4Bz9vG0 for ; Sat, 5 Nov 2016 03:47:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ZRW/XEJb"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=fov3Wql6LgDBTyMW877w89MpGk/9u 4BKPf/x8QUGIxIpQzTi75oe9jxTbz1tQN8gXbm/c8npHM8ht3kcaTuxDAdV3dRym ROwSOS2LU6MoKNVfyHdSNj3U84uPNqhO5LABEDD0ZwjLfzn7hBr/Q8H80it0EkgE aKwnXE8mkvD7qA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=bOqDC3dEYOyRQZD2c4b5fnHxfJc=; b=ZRW /XEJbEsRYhmAUfh3onlnRBpO4/aCq2tZ6QMCR6zXjwA6JPHXzsLaR1h658MmeLi/ c32LurC0pyRzmIT5wbCU3jN8aNKpS7/nIODjI7XjZK1y8vQ2yTJE16XKxZCayhiG Mlxzw6p+pJTktjR972m9lFkEPtplvvlIC0Smrolg= Received: (qmail 40314 invoked by alias); 4 Nov 2016 16:47:44 -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 40204 invoked by uid 89); 4 Nov 2016 16:47:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 4 Nov 2016 16:47:33 +0000 From: Joseph Myers To: Subject: Make SH self-contained Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) The check-installed-headers tests show up that the SH is not self-contained, using size_t without including any header that defines it. This patch fixes it by including , as done for other architectures' versions of this header. Tested for SH3 and SH4 (compilation only). 2016-11-04 Joseph Myers * sysdeps/unix/sysv/linux/sh/sys/user.h: Include . diff --git a/sysdeps/unix/sysv/linux/sh/sys/user.h b/sysdeps/unix/sysv/linux/sh/sys/user.h index 47b87ae..2999b03 100644 --- a/sysdeps/unix/sysv/linux/sh/sys/user.h +++ b/sysdeps/unix/sysv/linux/sh/sys/user.h @@ -19,6 +19,7 @@ #define _SYS_USER_H 1 #include +#include /* asm/ptrace.h polutes the namespace. */ #undef PTRACE_GETREGS