src: Another round of source updates: moving all headers close to implementation files
Change-Id: I3d47076504950e67746174623c75383948e9d93d
diff --git a/examples/consumer.cpp b/examples/consumer.cpp
index 3e57d20..bba9a7f 100644
--- a/examples/consumer.cpp
+++ b/examples/consumer.cpp
@@ -5,7 +5,10 @@
* See COPYING for copyright and distribution information.
*/
-#include <ndn-cpp-dev/face.hpp>
+// correct way to include NDN-CPP headers
+// #include <ndn-cpp-dev/face.hpp>
+#include "face.hpp"
+
#include <stdexcept>
#if NDN_CPP_HAVE_CXX11
diff --git a/examples/producer.cpp b/examples/producer.cpp
index fd25515..4a24bac 100644
--- a/examples/producer.cpp
+++ b/examples/producer.cpp
@@ -5,9 +5,12 @@
* See COPYING for copyright and distribution information.
*/
-#include <ndn-cpp-dev/face.hpp>
+// correct way to include NDN-CPP headers
+// #include <ndn-cpp-dev/face.hpp>
+// #include <ndn-cpp-dev/security/key-chain.hpp>
-#include <ndn-cpp-dev/security/key-chain.hpp>
+#include "face.hpp"
+#include "security/key-chain.hpp"
#if NDN_CPP_HAVE_CXX11
// In the std library, the placeholders are in a different namespace than boost.