aboutsummaryrefslogtreecommitdiff
path: root/src/zmq/zmqutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq/zmqutil.h')
-rw-r--r--src/zmq/zmqutil.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zmq/zmqutil.h b/src/zmq/zmqutil.h
index 4c1df5d6db..90c0b00edb 100644
--- a/src/zmq/zmqutil.h
+++ b/src/zmq/zmqutil.h
@@ -5,6 +5,8 @@
#ifndef BITCOIN_ZMQ_ZMQUTIL_H
#define BITCOIN_ZMQ_ZMQUTIL_H
-void zmqError(const char* str);
+#include <string>
+
+void zmqError(const std::string& str);
#endif // BITCOIN_ZMQ_ZMQUTIL_H