tests: need to include unistd.h to get usleep.
diff --git a/tests/test-get-async.cpp b/tests/test-get-async.cpp
index d59d611..7f04d65 100644
--- a/tests/test-get-async.cpp
+++ b/tests/test-get-async.cpp
@@ -7,6 +7,7 @@
#include <cstdlib>
#include <sstream>
#include <iostream>
+#include <unistd.h>
#include <ndn-cpp/face.hpp>
using namespace std;
@@ -47,7 +48,7 @@
{
try {
// Connect to port 9695 until the testbed hubs use NDNx.
- Face face("A.hub.ndn.ucla.edu", 9695);
+ Face face("C.hub.ndn.ucla.edu", 9695);
// Counter holds data used by the callbacks.
Counter counter;
diff --git a/tests/test-publish-async.cpp b/tests/test-publish-async.cpp
index e8031b0..4b18f20 100644
--- a/tests/test-publish-async.cpp
+++ b/tests/test-publish-async.cpp
@@ -8,6 +8,7 @@
#include <sstream>
#include <iostream>
#include <time.h>
+#include <unistd.h>
#include <ndn-cpp/face.hpp>
#include <ndn-cpp/security/identity/memory-identity-storage.hpp>
#include <ndn-cpp/security/identity/memory-private-key-storage.hpp>