summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lock.h b/src/lock.h
index 2ca7876..2b5f951 100644
--- a/src/lock.h
+++ b/src/lock.h
@@ -11,6 +11,7 @@
#include "diag.h"
#include <errno.h>
#include <pthread.h>
+#include <string.h>
#define lock_verify(expr, cond) \
bfs_verify((errno = (expr), (cond)), "%s: %s", #expr, strerror(errno))