summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-06-13 17:49:38 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-06-13 17:49:38 -0400
commit60fce9f4ef5e5c4603271d167142262e07ab46e7 (patch)
tree2694bedd3461190b82b1386468aaacf726ee45b3 /src
parent6719107e95a41b9ef241bdaa272eed505865710c (diff)
downloadbfs-60fce9f4ef5e5c4603271d167142262e07ab46e7.tar.xz
lock: Add missing <string.h> include
Diffstat (limited to 'src')
-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))