Skip to content

Commit bd5d1cf

Browse files
Dendi Suhubdyclaude
andcommitted
Add missing standard library includes to new headers
- secretbox.hpp: add <string> - elligator2.hpp: add <span> - obfs4_listener.hpp: add <expected>, <string>, <cstdint> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f1d4be6 commit bd5d1cf

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

include/tor/crypto/elligator2.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <cstdint>
77
#include <expected>
88
#include <optional>
9+
#include <span>
910

1011
namespace tor::crypto {
1112

include/tor/crypto/secretbox.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <cstdint>
55
#include <expected>
66
#include <span>
7+
#include <string>
78
#include <vector>
89

910
namespace tor::crypto {

include/tor/transport/obfs4_listener.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
#include "tor/transport/obfs4.hpp"
44
#include "tor/net/acceptor.hpp"
55
#include <atomic>
6+
#include <cstdint>
7+
#include <expected>
68
#include <functional>
79
#include <memory>
10+
#include <string>
811
#include <thread>
912

1013
namespace tor::transport {

0 commit comments

Comments
 (0)