summaryrefslogtreecommitdiff
path: root/sys-apps/cpuid/files/cpuid-20170122-missing-include-sysmacros.patch
blob: bba18a3b3543b0094d28bcf15cb77bf8814c4b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Bug: https://bugs.gentoo.org/show_bug.cgi?id=604406

--- a/cpuid.c
+++ b/cpuid.c
@@ -30,6 +30,7 @@
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <sys/types.h>
+#include <sys/sysmacros.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <errno.h>