From 82296c0ce4bf9124495ff327d6b59c33735033d5 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 20 Jun 2017 07:55:34 +0200 Subject: [PATCH] fix NS3 builds --- src/surf/ns3/ns3_simulator.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/surf/ns3/ns3_simulator.cc b/src/surf/ns3/ns3_simulator.cc index 7335db93d1..7aa706d211 100644 --- a/src/surf/ns3/ns3_simulator.cc +++ b/src/surf/ns3/ns3_simulator.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -8,6 +8,8 @@ #include "xbt/log.h" #include "xbt/sysdep.h" +#include + xbt_dict_t flowFromSock = xbt_dict_new_homogeneous([](void *p) { delete (SgFlow*)p; }); // ns3::sock -> SgFlow -- 2.20.1