Skip to content

Commit 2824495

Browse files
authored
Merge pull request #98 from CESNET/fix-includes
core: fix includes in utils.c causing compilation failure because of undefined be64toh/htobe64
2 parents 97617d2 + f2ff637 commit 2824495

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/core/utils.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@
4646

4747
#include <errno.h>
4848
#include <limits.h>
49+
#include <stdbool.h>
50+
#include <stdio.h>
4951
#include <stdlib.h>
5052
#include <string.h>
53+
#include <sys/stat.h>
5154

52-
#include "utils.h"
55+
#include <ipfixcol2/api.h>
5356

5457

5558
int

src/core/utils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
extern "C" {
4646
#endif
4747

48-
#include <ipfixcol2.h>
49-
5048
#ifdef __cplusplus
5149
}
5250
#endif

src/tools/fdsdump/src/aggregator/stdAllocator.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#pragma once
1111

12+
#include <cstdint>
1213
#include <memory>
1314
#include <vector>
1415

0 commit comments

Comments
 (0)