From: Martin Quinson Date: Tue, 20 Jun 2017 05:55:34 +0000 (+0200) Subject: fix NS3 builds X-Git-Tag: v3.16~26 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/82296c0ce4bf9124495ff327d6b59c33735033d5 fix NS3 builds --- 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