aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-module.c')
-rw-r--r--sim/common/sim-module.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sim/common/sim-module.c b/sim/common/sim-module.c
index 2f7ac5f..fd9b587 100644
--- a/sim/common/sim-module.c
+++ b/sim/common/sim-module.c
@@ -19,6 +19,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "config.h"
#include "sim-main.h"
#include "sim-io.h"
#include "sim-options.h"
@@ -28,6 +29,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-hw.h"
#endif
+#ifdef HAVE_DV_SOCKSER
+/* TODO: Shouldn't have device models here. */
+#include "dv-sockser.h"
+#endif
+
#include "libiberty.h"
/* List of all modules. */
@@ -60,6 +66,10 @@ static MODULE_INSTALL_FN * const modules[] = {
#if WITH_HW
sim_hw_install,
#endif
+#ifdef HAVE_DV_SOCKSER
+ /* TODO: Shouldn't have device models here. */
+ dv_sockser_install,
+#endif
/* Configured in [simulator specific] additional modules. */
#ifdef MODULE_LIST
MODULE_LIST