diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-09-26 08:25:37 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-09-26 08:25:37 -0700 |
commit | a98b71ccadc1458bf3a959e328d5ae814eb7e9b3 (patch) | |
tree | b493f2ce5b78a56a70e76435658e370d44b2eab8 /common/recipes-bsp/amt/files/readlink-declaration.patch | |
download | meta-dpdk-a98b71ccadc1458bf3a959e328d5ae814eb7e9b3.tar.gz |
Initial commit from meta-intel 2f1bcac3fb3b42602f689fb4a1092aa5f4cf0c8a
Diffstat (limited to 'common/recipes-bsp/amt/files/readlink-declaration.patch')
-rw-r--r-- | common/recipes-bsp/amt/files/readlink-declaration.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/common/recipes-bsp/amt/files/readlink-declaration.patch b/common/recipes-bsp/amt/files/readlink-declaration.patch new file mode 100644 index 0000000..0246d50 --- /dev/null +++ b/common/recipes-bsp/amt/files/readlink-declaration.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Add a missing include causing compilation (missing declaration) problems. | ||
2 | |||
3 | Upstream-Status: Submitted | ||
4 | |||
5 | Signed-off-by: Tom Zanussi <tom.zanussi (a] intel.com> | ||
6 | |||
7 | Index: lms-7.1.20/src/tools/ATVersion.cpp | ||
8 | =================================================================== | ||
9 | --- lms-7.1.20.orig/src/tools/ATVersion.cpp 2012-05-29 20:34:34.061997035 -0500 | ||
10 | +++ lms-7.1.20/src/tools/ATVersion.cpp 2012-05-29 20:35:22.671412948 -0500 | ||
11 | @@ -40,6 +40,7 @@ | ||
12 | #include <cerrno> | ||
13 | #include <fstream> | ||
14 | #include <dirent.h> | ||
15 | +#include <unistd.h> | ||
16 | |||
17 | #define AT_VERSION_ARGUMENT "--version" | ||
18 | #define AT_VERSION_MAXSIZE 40 | ||