From patchwork Fri Nov 4 16:45:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 691324 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 3t9SQD4kGSz9t2b for ; Sat, 5 Nov 2016 03:45:56 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ZE/DP2Vj"; 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=xTSaqG5qza7dg8U9yUQwpFipVNoxj 0weqsOU0X1scGpzSQD4N04vBeDrP2ayjPLCM3pSDIpteFw9Ja4mvragqYyDVRZ32 /6S3FIDtrA2Ow2bjClH1ZNWwe17XAqTHvO9w1BC2YIAzKjQp8vHlEFKr/a10EIsu tvYQPsXQ7bkhmc= 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=PT3Mr+zg5mWaEuxc+xuKtUEudSI=; b=ZE/ DP2VjKS/l0852HClTeTaILE/L+K065mTBZNXdkRnwZwnO+9VCc7W8MoOnr3mIFyR P10RXIhx3zE/yfEq6LwvWMBrEPpr+scocr0Ms8AJGFpAVf4M8PHne5fSiy2Dndv1 YgcVTJdM4urSohv2ed9CgoIz3I8hqasEGmF1lR8g= Received: (qmail 122148 invoked by alias); 4 Nov 2016 16:45:48 -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 121380 invoked by uid 89); 4 Nov 2016 16:45:47 -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=197 X-HELO: relay1.mentorg.com Date: Fri, 4 Nov 2016 16:45:34 +0000 From: Joseph Myers To: Subject: Make MIPS self-contained [committed] 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 MIPS 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 MIPS (all 24 ABIs, compilation only). Committed. 2016-11-04 Joseph Myers * sysdeps/unix/sysv/linux/mips/sys/user.h: Include . diff --git a/sysdeps/unix/sysv/linux/mips/sys/user.h b/sysdeps/unix/sysv/linux/mips/sys/user.h index b240438..f3547d9 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/user.h +++ b/sysdeps/unix/sysv/linux/mips/sys/user.h @@ -19,6 +19,7 @@ #define _SYS_USER_H 1 #include +#include /* The whole purpose of this file is for GDB and GDB only. Don't read too much into it. Don't use it for anything other than GDB unless