Skip to content

Conversation

@sedmicha
Copy link
Collaborator

@sedmicha sedmicha commented Jun 6, 2024

#include <ipfixcol2.h> resulted in including a file in which be64toh/htobe64 functions were used. This would clash with the defines present here that are necessary to get the wanted strerror_r function, resulting in the be64toh/htobe64 functions being undefined.

This was fixed by not including ipfixcol2.h as a whole, but only the necessary part, as well as adding explicit includes for the system headers that were brought by ipfixcol2.h.

@sedmicha sedmicha requested a review from Lukas955 June 6, 2024 13:05
@sedmicha sedmicha closed this Jun 11, 2025
@sedmicha sedmicha reopened this Jun 19, 2025
sedmicha added 2 commits June 19, 2025 14:39
#include <ipfixcol2.h> resulted in including a file in which
be64toh/htobe64 functions were used. This would clash with the defines
present here that are necessary to get the wanted strerror_r function,
resulting in the be64toh/htobe64 functions being undefined.

This was fixed by not including ipfixcol2.h as a whole, but only the
necessary part, as well as adding explicit includes for the system
headers that were brought by ipfixcol2.h.
@sedmicha sedmicha merged commit 2824495 into master Jun 19, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants