From patchwork Sun Dec 18 19:49:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 88389 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp842113qgi; Sun, 18 Dec 2016 11:49:40 -0800 (PST) X-Received: by 10.55.197.148 with SMTP id k20mr806330qkl.34.1482090580477; Sun, 18 Dec 2016 11:49:40 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id w52si8075765qtb.126.2016.12.18.11.49.40 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 18 Dec 2016 11:49:40 -0800 (PST) Received-SPF: pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=grub-devel-bounces+patch=linaro.org@gnu.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: from localhost ([::1]:41935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIhSk-0001kG-7E for patch@linaro.org; Sun, 18 Dec 2016 14:49:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIhSa-0001iw-RJ for grub-devel@gnu.org; Sun, 18 Dec 2016 14:49:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIhSX-0008Vd-Mz for grub-devel@gnu.org; Sun, 18 Dec 2016 14:49:28 -0500 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:33487) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIhSX-0008VA-IY for grub-devel@gnu.org; Sun, 18 Dec 2016 14:49:25 -0500 Received: by mail-qt0-x244.google.com with SMTP id n6so16839725qtd.0 for ; Sun, 18 Dec 2016 11:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=JoF4DXjMzwWRf5rsB0BDfIltMZ1AIb/xYg1VLAX9ydI=; b=kc77oPULoLGZrpFZIfnGNOAeyROiTDCQIKRsWDIbxKLm9d00xkAzBbbBIhMRPruDlK isjQ5HxNQKHUgP0n+0VS5yMrsIN+zTtK11Gzm5uMdULuk8vu4BebuvNcKQAv+0Poi9bc C1pzkyOxe5SEF3GJMhTbMVAz0erTK492HOt+RKz7NutePpLt+b3FOPjJpswrd0EryKqB K/rGy1QLfnpn29A9IfjKLZwJAX32aJl4JlgVW8ttucFn/+nNhsGRCgnJJUBJ7Sd21JHQ 5U1Ya9FjizUdIEtOfsCBFXayWDnCb8zScsZgf/D5/shaGqQrS8yozn0cBSuIeqtmh7nG x4xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JoF4DXjMzwWRf5rsB0BDfIltMZ1AIb/xYg1VLAX9ydI=; b=MzgcPkXQUJQQCF59B4vEUZV3/4VQFNEP8jEDfysrDf6usnsxDlhmPRxQLYet5Ql3mo A5PlcBZYRXrsafXX34owddcrbXO97fQanRchL86sdVBjZwzd1kcNGm4dBw2ICJfLpXm0 ZJnjSoPBNrQZR6w/IWg2ze58OpzkKjMLfPMAEgGXU7tjPgyfy6LNIQUbyusujRQjSyYC mPjttIHa1KA9FGsWTjsymFzWc+fzkZXIXWxBPKd/GwhdWxyW022O2ahAEq09cTl4Vjwf d3naja6LYmHqSSuGKf/S3b7Jl1pCe9ubcPfdI3wgYp47wndqpzsxXuV/oBvlkDVvef/y C8xg== X-Gm-Message-State: AIkVDXIGtBLX74GQVggzIsqs/SpFfHzxBIPRtRSMHRv7ycEgxVz2s/vbS1AMjmQPPCYXyA== X-Received: by 10.200.43.166 with SMTP id m35mr13590800qtm.261.1482090563534; Sun, 18 Dec 2016 11:49:23 -0800 (PST) Received: from eos.sys.comcast.net (a-96-118-179-133.sys.comcast.net. [96.118.179.133]) by smtp.gmail.com with ESMTPSA id o31sm8827430qtf.20.2016.12.18.11.49.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Dec 2016 11:49:23 -0800 (PST) From: Khem Raj To: grub-devel@gnu.org Subject: [PATCH] include sys/sysmacros.h for getting major() definition Date: Sun, 18 Dec 2016 19:49:17 +0000 Message-Id: <1482090557-15453-1-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 1.9.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::244 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Cc: Khem Raj MIME-Version: 1.0 Errors-To: grub-devel-bounces+patch=linaro.org@gnu.org Sender: "Grub-devel" glibc 2.25 has deprecated inclusion of by Signed-off-by: Khem Raj --- grub-core/osdep/linux/getroot.c | 2 +- grub-core/osdep/unix/getroot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel diff --git a/grub-core/osdep/linux/getroot.c b/grub-core/osdep/linux/getroot.c index 09e7e6e..5923d17 100644 --- a/grub-core/osdep/linux/getroot.c +++ b/grub-core/osdep/linux/getroot.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include diff --git a/grub-core/osdep/unix/getroot.c b/grub-core/osdep/unix/getroot.c index 4bf37b0..5aaa086 100644 --- a/grub-core/osdep/unix/getroot.c +++ b/grub-core/osdep/unix/getroot.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include