1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/include/villas
Philipp Jungkamp 9ecb44806d node-ethercat: Fix #include after opened namespace
The `ethercat_config.hpp` header was included from `ethercat.hpp`
after opening the `villas::node` namespace. This made all definitions
originating from that header including the transitive definitions
from ethercat's `ecrt.h` part of the `villas::node` namespace.

The especially problematic part was that `ecrt.h` itself has an
`#include <netinet/in.h>` introduced in [1]. This caused the libc
definitions for `sa_familt_t`, `sockaddr_in` and `sockaddr_in6` to be
moved into the `villas::node` namespace, causing build error on recent
`ethercat` versions.

[1]: c2f9baf96a

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2024-10-16 21:23:14 +02:00
..
api Apply clang-format changes 2023-09-08 11:37:42 +02:00
formats Protobuf: Remove include dependency on generated header 2024-08-27 06:44:47 +02:00
hooks Apply clang-format changes 2023-09-08 11:37:42 +02:00
kernel Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
memory Apply clang-format changes 2023-09-08 11:37:42 +02:00
node Revert default sample length to 64 2024-05-28 19:45:55 -07:00
nodes node-ethercat: Fix #include after opened namespace 2024-10-16 21:23:14 +02:00
api.hpp ethercat: Shuffle includes to fix failing Nix builds 2024-08-28 23:20:52 +02:00
capabilities.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
config_class.hpp Reformat all code with clang-format 2024-02-29 19:34:27 +01:00
config_helper.hpp Fix broken include due to auto-formatting 2023-09-08 11:37:42 +02:00
dumper.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
format.hpp format: Allow printing test meta data to result file 2024-05-28 19:45:55 -07:00
hook.hpp hook: Fix compiler warning about overloaded virtual function 2024-03-26 13:01:15 +01:00
hook_list.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
log_opal_sink.hpp Replace last tab indentation with spaces 2024-02-29 23:18:47 +01:00
mapping.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
mapping_list.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
node.h Apply clang-format changes 2023-09-08 11:37:42 +02:00
node.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
node_compat.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
node_compat_type.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
node_direction.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
node_list.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
path.hpp Replace last tab indentation with spaces 2024-02-29 23:18:47 +01:00
path_destination.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
path_list.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
path_source.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
pool.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
queue.h Apply clang-format changes 2023-09-08 11:37:42 +02:00
queue.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
queue_signalled.h Apply clang-format changes 2023-09-08 11:37:42 +02:00
queue_signalled.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
sample.hpp Use spaces for indention of C++ comments 2024-02-29 23:18:47 +01:00
shmem.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
signal.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
signal_data.hpp Fix broken include due to auto-formatting 2023-09-08 11:37:42 +02:00
signal_list.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
signal_type.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
socket_addr.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
stats.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
super_node.hpp Fix formatting 2024-05-28 19:45:55 -07:00
usb.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
web.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00