diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2015-09-16 09:12:07 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2015-09-16 09:12:07 -0400 |
commit | 13b828270a6f912aeb24dee87108c6bda83d1b96 (patch) | |
tree | 1c39d082db96075c308b470852e761086ff8fc65 /src/zmq/zmqconfig.h | |
parent | 9733bc99a0b967522ff47e00f4d8e408e6ee5c4f (diff) | |
parent | 029e278286cb861901c9cb8e1b84855ec1640aac (diff) | |
download | bitcoin-13b828270a6f912aeb24dee87108c6bda83d1b96.tar.xz |
Merge pull request #6103
Diffstat (limited to 'src/zmq/zmqconfig.h')
-rw-r--r-- | src/zmq/zmqconfig.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/zmq/zmqconfig.h b/src/zmq/zmqconfig.h new file mode 100644 index 0000000000..6057f5d1a0 --- /dev/null +++ b/src/zmq/zmqconfig.h @@ -0,0 +1,24 @@ +// Copyright (c) 2015 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#ifndef BITCOIN_ZMQ_ZMQCONFIG_H +#define BITCOIN_ZMQ_ZMQCONFIG_H + +#if defined(HAVE_CONFIG_H) +#include "config/bitcoin-config.h" +#endif + +#include <stdarg.h> +#include <string> + +#if ENABLE_ZMQ +#include <zmq.h> +#endif + +#include "primitives/block.h" +#include "primitives/transaction.h" + +void zmqError(const char *str); + +#endif // BITCOIN_ZMQ_ZMQCONFIG_H |