[Pkg-wmaker-commits] [wmhdplop] 03/03: wmhdplop: include sys/sysmacros.h for major/minor funcs
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Feb 17 10:12:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmhdplop.
commit 7c3219f66e2c0209e54913569348a267e7a4abc7
Author: Bernard Cafarelli <voyageur at gentoo.org>
Date: Thu Feb 16 15:16:43 2017 +0100
wmhdplop: include sys/sysmacros.h for major/minor funcs
In some future release, glibc's <sys/types.h> will not include
<sys/sysmacros.h> anymore. As of 2.25, it still does, but you get
deprecation warnings if you use the macros without including
<sys/sysmacros.h>
Gentoo original bug: https://bugs.gentoo.org/show_bug.cgi?id=604296
---
devnames.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/devnames.c b/devnames.c
index b1749aa..5a0b81c 100644
--- a/devnames.c
+++ b/devnames.c
@@ -4,6 +4,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <unistd.h>
#include <linux/major.h>
#include <ctype.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmhdplop.git
More information about the Pkg-wmaker-commits
mailing list