Skip to content

Commit b364081

Browse files
authored
Include <cerrno>
When compiling on Linux host to armv7a target following to the tutorial, got error of "errno undeclared". Include this header fixed this problem.
1 parent fb8bb48 commit b364081

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_helpers/Utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <cctype>
2727
#include <iomanip>
2828
#include <string>
29-
29+
#include <cerrno>
3030
namespace
3131
{
3232
/* 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::
161161
fs.ignore(1);
162162

163163
return std::make_tuple(width, height, max_val);
164-
}
164+
}

0 commit comments

Comments
 (0)