From 35b8af92265ed74de63c3818e5290c27b3f35df2 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Mon, 27 May 2013 19:55:01 -0400 Subject: autotools: switch to autotools buildsystem --- src/net.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/net.cpp') 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; -- cgit v1.2.3