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
---
 wmhdplop/devnames.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wmhdplop/devnames.c b/wmhdplop/devnames.c
index b1749aa..5a0b81c 100644
--- a/wmhdplop/devnames.c
+++ b/wmhdplop/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>
-- 
2.11.1


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to