summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/mysql.hh3
-rw-r--r--base/pollevent.hh1
2 files changed, 4 insertions, 0 deletions
diff --git a/base/mysql.hh b/base/mysql.hh
index 2278d42e7..ae28a9dfb 100644
--- a/base/mysql.hh
+++ b/base/mysql.hh
@@ -33,6 +33,7 @@
#include <cassert>
#include <iosfwd>
+#include <mysql_version.h>
#include <mysql.h>
#include <string>
#include <sstream>
@@ -89,6 +90,8 @@ class Result
{
if (result)
refcount = new int(1);
+ else
+ refcount = NULL;
}
Result(const Result &result)
diff --git a/base/pollevent.hh b/base/pollevent.hh
index 13092df2c..d39931797 100644
--- a/base/pollevent.hh
+++ b/base/pollevent.hh
@@ -34,6 +34,7 @@
#include "sim/root.hh"
class Checkpoint;
+class PollQueue;
class PollEvent
{