Skip to content

Commit 589a373

Browse files
committed
openwrt: add missing include of time.h
The missing #include <sys/time.h> directives caused build failure on OpenWrt.
1 parent cfc02c2 commit 589a373

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

include/ipfixprobe/packet.hpp

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

3535
#include <stdint.h>
3636
#include <stdlib.h>
37+
#include <sys/time.h>
3738

3839
#include <ipfixprobe/ipaddr.hpp>
3940
#include <ipfixprobe/flowifc.hpp>

include/ipfixprobe/utils.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <algorithm>
3939
#include <stdexcept>
4040
#include <cstdint>
41+
#include <sys/time.h>
4142

4243
namespace ipxp {
4344

0 commit comments

Comments
 (0)