Skip to content

Commit 491fbd0

Browse files
committed
Fixed unit test failures in Linux.
1 parent c69087b commit 491fbd0

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/FileSystem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <list>
99
#include <memory>
1010
#include <cassert>
11+
#include <functional>
1112
#include <stdint.h>
1213

1314
namespace RNS {

src/Transport.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,13 @@ namespace RNS {
111111
_received_from(received_from),
112112
_hops(announce_hops),
113113
_expires(expires),
114+
_random_blobs(random_blobs),
115+
#if RNS_LEAN_PATH_TABLE
116+
_receiving_interface(receiving_interface)
117+
#else
114118
_receiving_interface(receiving_interface),
115-
#if !RNS_LEAN_PATH_TABLE
116-
_announce_packet(announce_packet),
119+
_announce_packet(announce_packet)
117120
#endif
118-
_random_blobs(random_blobs)
119121
{
120122
if (receiving_interface) _receiving_interface_hash = receiving_interface.get_hash();
121123
if (announce_packet) _announce_packet_hash = announce_packet.get_hash();

src/Utilities/OS.h

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

77
#include <cmath>
88
#include <memory>
9+
#include <functional>
910
#include <unistd.h>
1011
#include <time.h>
1112
#include <stdint.h>

0 commit comments

Comments
 (0)