If using std, need using namespace func_lib::placeholders;
diff --git a/tests/test-get-async.cpp b/tests/test-get-async.cpp
index 76ae5c1..901c70e 100644
--- a/tests/test-get-async.cpp
+++ b/tests/test-get-async.cpp
@@ -13,6 +13,11 @@
 using namespace std;
 using namespace ndn;
 using namespace ptr_lib;
+using namespace func_lib;
+#if HAVE_STD_FUNCTION
+// In the std library, the placeholders are in a different namespace than boost.
+using namespace func_lib::placeholders;
+#endif
 
 class Counter
 {