build: Fix compilation with tests and precompiled headers enabled
Change-Id: I996c06e1340cc5d1e731daf879b209c2976fe0e0
Refs: #2102
diff --git a/.jenkins.d/10-build.sh b/.jenkins.d/10-build.sh
index 54756c7..c531b3f 100755
--- a/.jenkins.d/10-build.sh
+++ b/.jenkins.d/10-build.sh
@@ -12,7 +12,7 @@
sudo ./waf -j1 --color=yes distclean
# Configure/build in debug mode
-./waf -j1 --color=yes configure --with-tests --without-pch --debug
+./waf -j1 --color=yes configure --with-tests --debug
./waf -j1 --color=yes build
# Cleanup
diff --git a/tests/unit-tests/test-name.cpp b/tests/unit-tests/test-name.cpp
index 5bc6f6b..785321a 100644
--- a/tests/unit-tests/test-name.cpp
+++ b/tests/unit-tests/test-name.cpp
@@ -191,8 +191,8 @@
Timestamp()
{
dataset.push_back(boost::make_tuple(&name::Component::fromTimestamp,
- bind(&name::Component::toTimestamp, _1),
- bind(&Name::appendTimestamp, _1, _2),
+ ndn::bind(&name::Component::toTimestamp, _1),
+ ndn::bind(&Name::appendTimestamp, _1, _2),
Name("/%FC%00%04%7BE%E3%1B%00%00"),
time::getUnixEpoch() + time::days(14600/*40 years*/),
bind(&name::Component::isTimestamp, _1)));