mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-30 08:48:07 -07:00
Upstream is adopting a similar fix and it won't be needed for 0.4.5. Gentoo-Bug: 580364 Gentoo-Bug-URL: https://bugs.gentoo.org/580364 Package-Manager: Portage-2.3.3, Repoman-2.3.1
16 lines
398 B
Diff
16 lines
398 B
Diff
# 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>
|
|
|