mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
torcontrol: Use forward declaration for subprocess::Popen
This commit is contained in:
parent
a55f3d33f1
commit
9088343225
@ -15,10 +15,6 @@
|
||||
#include <netaddress.h>
|
||||
#include <util/fs.h>
|
||||
|
||||
#ifdef ENABLE_TOR_SUBPROCESS
|
||||
#include <util/subprocess.h>
|
||||
#endif // ENABLE_TOR_SUBPROCESS
|
||||
|
||||
#include <event2/util.h>
|
||||
|
||||
#include <cstdint>
|
||||
@ -27,6 +23,10 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace subprocess {
|
||||
class Popen;
|
||||
}
|
||||
|
||||
constexpr int DEFAULT_TOR_CONTROL_PORT = 9051;
|
||||
extern const std::string DEFAULT_TOR_CONTROL;
|
||||
extern const std::string DEFAULT_TOR_EXECUTE;
|
||||
|
Loading…
Reference in New Issue
Block a user