From 403eab89db3eb3351429df1dad21b8ce00c14bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Date: Sun, 6 Oct 2024 17:07:31 +0200 Subject: [PATCH] fix gettimeofday --- Pcap++/src/NetworkUtils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pcap++/src/NetworkUtils.cpp b/Pcap++/src/NetworkUtils.cpp index decd085e53..4033dcacd4 100644 --- a/Pcap++/src/NetworkUtils.cpp +++ b/Pcap++/src/NetworkUtils.cpp @@ -2,6 +2,7 @@ #include #include + #include "pcapplusplus/Logger.h" #include "pcapplusplus/Packet.h" #include "pcapplusplus/EthLayer.h" @@ -11,6 +12,7 @@ #include "pcapplusplus/DnsLayer.h" #include "pcapplusplus/PcapFilter.h" #include "pcapplusplus/NetworkUtils.h" +#include "pcapplusplus/SystemUtils.h" #include "EndianPortable.h" #ifndef ETIMEDOUT # define ETIMEDOUT 10060