aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-23 17:16:57 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-23 17:16:57 +0200
commit9d86377c9d10c48c2fb583d0a8cf2874d7ab4082 (patch)
tree5bebb17d8ec502215c2e943aa71e3429e70cfcbb
parent07b6ff826546e931c0ebf03e30a872ba24e963fc (diff)
downloadble-toys-9d86377c9d10c48c2fb583d0a8cf2874d7ab4082.tar.gz
ble-toys-9d86377c9d10c48c2fb583d0a8cf2874d7ab4082.tar.bz2
ble-toys-9d86377c9d10c48c2fb583d0a8cf2874d7ab4082.tar.xz
ble-toys-9d86377c9d10c48c2fb583d0a8cf2874d7ab4082.zip
sm-db-insert/select: Adding missing header.
-rw-r--r--apps/sm-db-insert.cpp1
-rw-r--r--apps/sm-db-select.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/sm-db-insert.cpp b/apps/sm-db-insert.cpp
index 2b94c19..57a633c 100644
--- a/apps/sm-db-insert.cpp
+++ b/apps/sm-db-insert.cpp
@@ -1,6 +1,7 @@
#include <boost/lexical_cast.hpp>
#include <pqxx/connection.hxx>
#include <pqxx/transaction.hxx>
+#include <pqxx/result_iterator.hxx>
#include <json.hpp>
#include "apps.h"
#include <fstream>
diff --git a/apps/sm-db-select.cpp b/apps/sm-db-select.cpp
index f66a284..32d58f3 100644
--- a/apps/sm-db-select.cpp
+++ b/apps/sm-db-select.cpp
@@ -2,6 +2,7 @@
#include <boost/lexical_cast.hpp>
#include <pqxx/connection.hxx>
#include <pqxx/transaction.hxx>
+#include <pqxx/result_iterator.hxx>
#include <json.hpp>
#include "apps.h"