add proper #include lines for ndn::OBufferStream and Boost.Iostreams
refs #3741
Change-Id: I75662c25376fd1613da4e2a8505203d9a7a5f9e1
diff --git a/src/chat-dialog-backend.cpp b/src/chat-dialog-backend.cpp
index ff1a51e..67305f2 100644
--- a/src/chat-dialog-backend.cpp
+++ b/src/chat-dialog-backend.cpp
@@ -1,7 +1,7 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2013, Regents of the University of California
- * Yingdi Yu
+ * Copyright (c) 2013-2016, Regents of the University of California
+ * Yingdi Yu
*
* BSD license, See the LICENSE file for more information
*
@@ -14,6 +14,7 @@
#include <QFile>
#ifndef Q_MOC_RUN
+#include <boost/iostreams/stream.hpp>
#include <ndn-cxx/util/io.hpp>
#include <ndn-cxx/security/validator-regex.hpp>
#include "logging.h"
diff --git a/src/contact-manager.cpp b/src/contact-manager.cpp
index b98c40a..811130e 100644
--- a/src/contact-manager.cpp
+++ b/src/contact-manager.cpp
@@ -1,7 +1,7 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2013, Regents of the University of California
- * Yingdi Yu
+ * Copyright (c) 2013-2016, Regents of the University of California
+ * Yingdi Yu
*
* BSD license, See the LICENSE file for more information
*
@@ -18,8 +18,8 @@
#include <QFile>
#ifndef Q_MOC_RUN
+#include <ndn-cxx/encoding/buffer-stream.hpp>
#include <ndn-cxx/util/crypto.hpp>
-#include <ndn-cxx/util/io.hpp>
#include <ndn-cxx/security/sec-rule-relative.hpp>
#include <ndn-cxx/security/validator-regex.hpp>
#include "cryptopp.hpp"