summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-05-20 18:46:23 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-20 18:48:30 +0300
commit67019d74bb312dcb8580ae2684664b62dbc005b9 (patch)
treecd0fceec669d41c4e18547b95d36e5e61a2cde7b
parentfdcb11fdde311de0e85db543c1b1a2291e5fb329 (diff)
testpat: Fix undefined function compilation error
std::strerror() is defined in the cstring header. Include it directly as it might not be included indirectly with all compiler versions. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--tests/testpat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testpat.cpp b/tests/testpat.cpp
index b2d7b12..ede176c 100644
--- a/tests/testpat.cpp
+++ b/tests/testpat.cpp
@@ -1,4 +1,5 @@
#include <cstdio>
+#include <cstring>
#include <algorithm>
#include <regex>
#include <set>