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

Previous Next

Package: parted;

Reported by: Mike Frysinger <vapier <at> gentoo.org>

Date: Tue, 21 Jun 2016 19:05:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 23817 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#23817; Package parted. (Tue, 21 Jun 2016 19:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Frysinger <vapier <at> gentoo.org>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Tue, 21 Jun 2016 19:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mike Frysinger <vapier <at> gentoo.org>
To: bug-parted <at> gnu.org
Subject: [PATCH] include sysmacros.h for major/minor/makedev
Date: Tue, 21 Jun 2016 15:03:49 -0400
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





This bug report was last modified 8 years and 359 days ago.

Previous Next


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