diff options
Diffstat (limited to 'meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch')
-rw-r--r-- | meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch b/meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch new file mode 100644 index 000000000..985182e3b --- /dev/null +++ b/meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 2693a499d4eec4504962e85a9713fa6431d3025f Mon Sep 17 00:00:00 2001 | ||
2 | From: Avinash Reddy Palleti <avinash.reddy.palleti@intel.com> | ||
3 | Date: Thu, 16 Aug 2018 22:36:31 +0530 | ||
4 | Subject: [PATCH] Fix: Add sys/sysmacros.h to fix build issue | ||
5 | |||
6 | --- | ||
7 | cpuid.c | 1 + | ||
8 | 1 file changed, 1 insertion(+) | ||
9 | |||
10 | diff --git a/cpuid.c b/cpuid.c | ||
11 | index 3c94837..0a98616 100644 | ||
12 | --- a/cpuid.c | ||
13 | +++ b/cpuid.c | ||
14 | @@ -31,6 +31,7 @@ | ||
15 | #include <stdio.h> | ||
16 | #include <sys/types.h> | ||
17 | #include <sys/stat.h> | ||
18 | +#include <sys/sysmacros.h> | ||
19 | #include <fcntl.h> | ||
20 | #include <errno.h> | ||
21 | #include <unistd.h> | ||
22 | -- | ||
23 | 2.7.4 | ||
24 | |||