From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@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, 04 Nov 2016 16:47:00 -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 Content-Type: text/plain; charset="US-ASCII" 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) X-SW-Source: 2016-11/txt/msg00183.txt.bz2 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 -- Joseph S. Myers joseph@codesourcery.com