diff options
| author | Pieter Wuille <[email protected]> | 2013-11-10 19:19:30 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-11-10 19:21:03 +0100 |
| commit | f76c122e2eac8ef66f69d142231bd33c88a24c50 (patch) | |
| tree | d2f910390e55aef857023812fbdaefdd66cd99ff /src/protocol.cpp | |
| parent | Merge pull request #3211 (diff) | |
| parent | Cleanup code using forward declarations. (diff) | |
| download | discoin-f76c122e2eac8ef66f69d142231bd33c88a24c50.tar.xz discoin-f76c122e2eac8ef66f69d142231bd33c88a24c50.zip | |
Merge pull request #2767
51ed9ec Cleanup code using forward declarations. (Brandon Dahler)
Diffstat (limited to 'src/protocol.cpp')
| -rw-r--r-- | src/protocol.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index a841bbc14..798227581 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -4,8 +4,10 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "protocol.h" + #include "util.h" -#include "netbase.h" + +#include <stdint.h> #ifndef WIN32 # include <arpa/inet.h> @@ -81,7 +83,7 @@ CAddress::CAddress() : CService() Init(); } -CAddress::CAddress(CService ipIn, uint64 nServicesIn) : CService(ipIn) +CAddress::CAddress(CService ipIn, uint64_t nServicesIn) : CService(ipIn) { Init(); nServices = nServicesIn; |