commit | 874678fed75f5ad10e9c1669d62db29c9ef56feb | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Wed Jan 22 19:30:34 2014 -0800 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Wed Jan 22 19:30:34 2014 -0800 |
tree | ed1ce72a71228760134f5054a51a5fc54b99c4c1 | |
parent | afc45a96221fbabd9e2e4d753b4a126a8e417da0 [diff] |
security: Hiding sqlite3 from the header of SecPublicInfoSqlite Change-Id: Ic45d06b013bbe8f96f9472a6f8b95d02820437f5
diff --git a/include/ndn-cpp-dev/security/sec-public-info-sqlite3.hpp b/include/ndn-cpp-dev/security/sec-public-info-sqlite3.hpp index f83c27e..8468fc2 100644 --- a/include/ndn-cpp-dev/security/sec-public-info-sqlite3.hpp +++ b/include/ndn-cpp-dev/security/sec-public-info-sqlite3.hpp
@@ -13,10 +13,11 @@ #include <ndn-cpp-dev/ndn-cpp-config.h> #ifdef NDN_CPP_HAVE_SQLITE3 -#include <sqlite3.h> #include "../common.hpp" #include "sec-public-info.hpp" +struct sqlite3; + namespace ndn {
diff --git a/src/security/sec-public-info-sqlite3.cpp b/src/security/sec-public-info-sqlite3.cpp index 6c1ea7b..9f2ca13 100644 --- a/src/security/sec-public-info-sqlite3.cpp +++ b/src/security/sec-public-info-sqlite3.cpp
@@ -10,6 +10,7 @@ #include <ndn-cpp-dev/ndn-cpp-config.h> #ifdef NDN_CPP_HAVE_SQLITE3 +#include <sqlite3.h> #include <stdio.h> #include <stdlib.h> #include <sstream>