GNU bug report logs - #23817
[PATCH] include sysmacros.h for major/minor/makedev

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: Mike Frysinger <vapier@HIDDEN>; Keywords: patch; dated Tue, 21 Jun 2016 19:05:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Jun 2016 19:04:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 21 15:04:07 2016
Received: from localhost ([127.0.0.1]:50050 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bFQxz-0003Ya-6V
	for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 15:04:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60661)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vapier@HIDDEN>) id 1bFQxx-0003Y7-4g
 for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 15:04:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vapier@HIDDEN>) id 1bFQxr-00016H-8W
 for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 15:04:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:53673)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vapier@HIDDEN>) id 1bFQxr-00016B-5U
 for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 15:03:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51628)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vapier@HIDDEN>) id 1bFQxp-0006RC-1s
 for bug-parted@HIDDEN; Tue, 21 Jun 2016 15:03:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vapier@HIDDEN>) id 1bFQxk-00014o-Vg
 for bug-parted@HIDDEN; Tue, 21 Jun 2016 15:03:56 -0400
Received: from smtp.gentoo.org ([140.211.166.183]:40726)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vapier@HIDDEN>) id 1bFQxk-00014g-PS
 for bug-parted@HIDDEN; Tue, 21 Jun 2016 15:03:52 -0400
Received: from localhost.localdomain (localhost [127.0.0.1])
 by smtp.gentoo.org (Postfix) with ESMTP id B1BE5335DEF
 for <bug-parted@HIDDEN>; Tue, 21 Jun 2016 19:03:51 +0000 (UTC)
From: Mike Frysinger <vapier@HIDDEN>
To: bug-parted@HIDDEN
Subject: [PATCH] include sysmacros.h for major/minor/makedev
Date: Tue, 21 Jun 2016 15:03:49 -0400
Message-Id: <1466535830-31957-1-git-send-email-vapier@HIDDEN>
X-Mailer: git-send-email 2.8.2
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)

Linux C libs are moving away from including this header implicitly via
sys/types.h, so include it explicitly.
---
 libparted/arch/linux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
index 326b95619d31..e5c168be3c68 100644
--- a/libparted/arch/linux.c
+++ b/libparted/arch/linux.c
@@ -37,6 +37,7 @@
 #include <dirent.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include <sys/types.h>
 #include <sys/utsname.h>        /* for uname() */
 #include <scsi/scsi.h>
-- 
2.8.2





Acknowledgement sent to Mike Frysinger <vapier@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#23817; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.