diff options
author | Cory Fields <theuni-nospam-@xbmc.org> | 2013-05-27 19:55:01 -0400 |
---|---|---|
committer | Cory Fields <theuni-nospam-@xbmc.org> | 2013-09-05 21:31:03 -0400 |
commit | 35b8af92265ed74de63c3818e5290c27b3f35df2 (patch) | |
tree | 7cd074e2ba31ca9346d69922e312ebd3e7298711 /src/net.cpp | |
parent | 2fee100f036626866e5dca3f27b7562da25e43f3 (diff) |
autotools: switch to autotools buildsystem
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp index 1f461e55db..02b99fd049 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -3,6 +3,10 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#if defined(HAVE_CONFIG_H) +#include "bitcoin-config.h" +#endif + #include "chainparams.h" #include "db.h" #include "net.h" @@ -28,6 +32,9 @@ // Dump addresses to peers.dat every 15 minutes (900s) #define DUMP_ADDRESSES_INTERVAL 900 +#if !defined(HAVE_MSG_NOSIGNAL) +#define MSG_NOSIGNAL 0 +#endif using namespace std; using namespace boost; |