Commit 82cdaeb
committed
core: fix includes in utils.c
#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.1 parent 97617d2 commit 82cdaeb
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
51 | 54 | | |
52 | | - | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments