mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix some conditionals for minimal builds
This commit is contained in:
parent
dfa8e73333
commit
d062d42f65
2 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,10 @@
|
|||
|
||||
#include <villas/socket_addr.h>
|
||||
#include <villas/utils.hpp>
|
||||
#include <villas/kernel/nl.h>
|
||||
|
||||
#ifdef WITH_SOCKET_LAYER_ETH
|
||||
#include <villas/kernel/nl.h>
|
||||
#endif /* WITH_SOCKET_LAYER_ETH */
|
||||
|
||||
using namespace villas::utils;
|
||||
|
||||
|
|
|
@ -477,7 +477,9 @@ SuperNode::~SuperNode()
|
|||
|
||||
vlist_destroy(&paths, (dtor_cb_t) path_destroy, true);
|
||||
vlist_destroy(&nodes, (dtor_cb_t) node_destroy, true);
|
||||
#ifdef WITH_NETEM
|
||||
vlist_destroy(&interfaces, (dtor_cb_t) if_destroy, true);
|
||||
#endif /* WITH_NETEM */
|
||||
}
|
||||
|
||||
int SuperNode::periodic()
|
||||
|
|
Loading…
Add table
Reference in a new issue