summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-10-03 21:45:01 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-10-03 21:45:01 +0200
commit6ad4cc84ec936e0d5aaf68c83d01a3555285bd7a (patch)
tree9e03ddadb8a842ec637a878730d2407a9b025059
parent78ed46a404d8908fd0343dc8372b9b514f67d678 (diff)
Include pthread.h when using pthread functions.
-rw-r--r--vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp b/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp
index 0141e32e435..72a0c93c719 100644
--- a/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp
+++ b/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp
@@ -7,6 +7,7 @@
#include <unordered_set>
#include <vector>
#include <algorithm>
+#include <pthread.h>
#include <vespa/vespalib/stllike/hash_set.hpp>
template <typename T>