projects
/
platform
/
upstream
/
armcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb8bb48
)
Include <cerrno>
author
Yuxin Wu
<ppwwyyxxc@gmail.com>
Fri, 31 Mar 2017 21:54:34 +0000
(14:54 -0700)
committer
GitHub
<noreply@github.com>
Fri, 31 Mar 2017 21:54:34 +0000
(14:54 -0700)
When compiling on Linux host to armv7a target following to the tutorial, got error of "errno undeclared". Include this header fixed this problem.
test_helpers/Utils.cpp
patch
|
blob
|
history
diff --git
a/test_helpers/Utils.cpp
b/test_helpers/Utils.cpp
index 4c0e8167cd239a3fa04cbbf8098ab47174d28b95..4d87d5305ab3ebb7036358a3601a53543ea11247 100644
(file)
--- a/
test_helpers/Utils.cpp
+++ b/
test_helpers/Utils.cpp
@@
-26,7
+26,7
@@
#include <cctype>
#include <iomanip>
#include <string>
-
+#include <cerrno>
namespace
{
/* Advance the iterator to the first character which is not a comment
@@
-161,4
+161,4
@@
std::tuple<unsigned int, unsigned int, int> test_helpers::parse_ppm_header(std::
fs.ignore(1);
return std::make_tuple(width, height, max_val);
-}
\ No newline at end of file
+}