summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--lib/consumer.cc1
-rw-r--r--lib/server.cc1
-rw-r--r--lib/util.cc1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/consumer.cc b/lib/consumer.cc
index f9212ea..d578546 100644
--- a/lib/consumer.cc
+++ b/lib/consumer.cc
@@ -1,5 +1,6 @@
#include <algorithm>
#include <cassert>
+#include <cstring>
#include <opkele/util.h>
#include <opkele/exception.h>
#include <opkele/data.h>
diff --git a/lib/server.cc b/lib/server.cc
index b1c5c3a..aa61035 100644
--- a/lib/server.cc
+++ b/lib/server.cc
@@ -1,3 +1,4 @@
+#include <cstring>
#include <vector>
#include <openssl/sha.h>
#include <openssl/hmac.h>
diff --git a/lib/util.cc b/lib/util.cc
index 94e09ed..26be66a 100644
--- a/lib/util.cc
+++ b/lib/util.cc
@@ -1,5 +1,6 @@
#include <errno.h>
#include <cassert>
+#include <cstring>
#include <vector>
#include <string>
#include <openssl/bio.h>