summaryrefslogtreecommitdiff
path: root/sys-apps/udevil/files/udevil-0.4.4-include-sysmacros.patch
blob: 7adda2893d07af1ac27ecab4614ced06c595a4d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Include sysmacros.h, solves Gentoo bug 580364
# Upstream has merged similar changes, should be present
# in 0.4.5
--- a/src/udevil.c	2015-05-04 06:34:32.000000000 -0700
+++ b/src/udevil.c	2017-01-02 07:25:14.744273858 -0800
@@ -33,6 +33,9 @@
 #include <netdb.h>
 #include <arpa/inet.h>
 
+// major/minor, dev_t, needed for glibc>=2.25
+#include <sys/sysmacros.h>
+
 // groups
 #include <grp.h>