1 // Copyright (c) 2014 The Bitcoin Core developers 2 // Distributed under the MIT software license, see the accompanying 3 // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 5 #ifndef BITCOIN_ZMQ_ZMQCONFIG_H 6 #define BITCOIN_ZMQ_ZMQCONFIG_H 7 8 #if defined(HAVE_CONFIG_H) 9 #include "config/bitcoin-config.h" 10 #endif 11 12 #include <stdarg.h> 13 #include <string> 14 15 #if ENABLE_ZMQ 16 #include <zmq.h> 17 #endif 18 19 #include "primitives/block.h" 20 #include "primitives/transaction.h" 21 22 void zmqError(const char *str); 23 24 #endif // BITCOIN_ZMQ_ZMQCONFIG_H 25