summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mblock/src/lib/mb_worker.cc1
-rw-r--r--mblock/src/lib/qa_bitset.cc1
-rw-r--r--mblock/src/lib/qa_disconnect.cc1
3 files changed, 3 insertions, 0 deletions
diff --git a/mblock/src/lib/mb_worker.cc b/mblock/src/lib/mb_worker.cc
index e7ac6a9b4..3b984875f 100644
--- a/mblock/src/lib/mb_worker.cc
+++ b/mblock/src/lib/mb_worker.cc
@@ -29,6 +29,7 @@
#include <mb_gettid.h>
#include <mblock/msg_accepter.h>
#include <iostream>
+#include <cstdio>
#ifdef HAVE_SCHED_H
#include <sched.h>
#endif
diff --git a/mblock/src/lib/qa_bitset.cc b/mblock/src/lib/qa_bitset.cc
index bc42ac8b0..0ed78d9f9 100644
--- a/mblock/src/lib/qa_bitset.cc
+++ b/mblock/src/lib/qa_bitset.cc
@@ -27,6 +27,7 @@
#include <mblock/message.h>
#include <mblock/class_registry.h>
#include <iostream>
+#include <cstdio>
#include <sstream>
#include <bitset>
diff --git a/mblock/src/lib/qa_disconnect.cc b/mblock/src/lib/qa_disconnect.cc
index e098e8b29..3f44bb5f4 100644
--- a/mblock/src/lib/qa_disconnect.cc
+++ b/mblock/src/lib/qa_disconnect.cc
@@ -27,6 +27,7 @@
#include <mblock/message.h>
#include <mblock/class_registry.h>
#include <iostream>
+#include <cstdio>
#include <sstream>
#include <bitset>