aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2013-09-06 17:09:55 -0700
committerJeff Garzik <[email protected]>2013-09-06 17:09:55 -0700
commit15fd245b9a4754485d1a272acce53bcf3290839f (patch)
tree95187b718dfe8cb7c4310fffb75f298637de1da5 /src/net.cpp
parentMerge pull request #2976 from laanwj/2013_09_txid_details (diff)
parentautotools: switch to autotools buildsystem (diff)
downloaddiscoin-15fd245b9a4754485d1a272acce53bcf3290839f.tar.xz
discoin-15fd245b9a4754485d1a272acce53bcf3290839f.zip
Merge pull request #2943 from theuni/autotools-final
Autotools buildsystem
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 1f461e55d..02b99fd04 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;