summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemc/ext/systemc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/systemc/ext/systemc b/src/systemc/ext/systemc
index 1224a7e1b..e2485509e 100644
--- a/src/systemc/ext/systemc
+++ b/src/systemc/ext/systemc
@@ -30,6 +30,12 @@
#ifndef __SYSTEMC_EXT_SYSTEMC__
#define __SYSTEMC_EXT_SYSTEMC__
+// This include isn't supposed to be necessary, but some regression tests
+// assume that the sc_bind macro will work without explicitly including the
+// boost headers. This is in contradiction to the spec which says boost isn't
+// a required dependency.
+#include <boost/bind.hpp>
+
#include "channel/_channel.hh"
#include "core/_core.hh"
#include "dt/_dt.hh"