From patchwork Thu Sep 22 13:30:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zack Weinberg X-Patchwork-Id: 673392 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 3sfy7T6qzwz9t17 for ; Thu, 22 Sep 2016 23:31:17 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=nddwhgZg; 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:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; q=dns; s= default; b=BfJGKxPtkKfDPdOPuKrx3sxg+S+QPAREOvtP9TxObmRJZKXOizaMl dqrEAeiqSgk0nr6KDtxOPo6cNxy5mATxCi4L2RMR2F0V2vZeYrn2Z5yO7Mvrpxok 1x3L2jeLYXL8pZilKyTygwzfB6MakmUuS236tdSfrnZz1bStC2jsqk= 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:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; s=default; bh=T/4Dd4GZxIsTSocpwkaV86uOvoI=; b=nddwhgZgpP0PLUfDfPqzJZ2JjMVQ 6CJy5sWGBG4GTP2H+rfSii2l5uvQSg7LsumvuEJqr8HaFKx3dqSK9wQ3O8tRyC77 nlaiz9uG2fLoYx7TW4QX1BmFAi7kEZBtgrN2LbL9ukiUa33QIfythFTcydrZj5kP 6OAkkQburtfRQmA= Received: (qmail 82066 invoked by alias); 22 Sep 2016 13:30:59 -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 82028 invoked by uid 89); 22 Sep 2016 13:30:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_50, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=nis, netax25, nis.h, nislibh X-HELO: l2mail1.panix.com From: Zack Weinberg To: libc-alpha@sourceware.org Cc: carlos@redhat.com, joseph@codesourcery.com Subject: [PATCH 1a/6] Installed-header hygiene (BZ#20366): Missing inclusions. Date: Thu, 22 Sep 2016 09:30:42 -0400 Message-Id: <20160922133054.22210-2-zackw@panix.com> In-Reply-To: <20160922133054.22210-1-zackw@panix.com> References: <20160922133054.22210-1-zackw@panix.com> MIME-Version: 1.0 A very few headers did not include all of their prerequisite headers. * rpcsvc/nislib.h: Include rpcsvc/nis.h. * sysdeps/unix/sysv/linux/netrose/rose.h: Include sys/socket.h and netax25/ax25.h. --- nis/rpcsvc/nislib.h | 2 +- sysdeps/unix/sysv/linux/netrose/rose.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nis/rpcsvc/nislib.h b/nis/rpcsvc/nislib.h index 21a8e48..1a7c3c5 100644 --- a/nis/rpcsvc/nislib.h +++ b/nis/rpcsvc/nislib.h @@ -19,7 +19,7 @@ #ifndef __RPCSVC_NISLIB_H__ #define __RPCSVC_NISLIB_H__ -#include +#include __BEGIN_DECLS diff --git a/sysdeps/unix/sysv/linux/netrose/rose.h b/sysdeps/unix/sysv/linux/netrose/rose.h index 3cb7f84..762d3f5 100644 --- a/sysdeps/unix/sysv/linux/netrose/rose.h +++ b/sysdeps/unix/sysv/linux/netrose/rose.h @@ -21,6 +21,9 @@ #ifndef _NETROSE_ROSE_H #define _NETROSE_ROSE_H 1 +#include +#include + /* Socket level values. */ #define SOL_ROSE 260