summaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h
index ab95a79..a59033c 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -8,6 +8,7 @@
#ifndef BFS_THREAD_H
#define BFS_THREAD_H
+#include "bfstd.h"
#include "config.h"
#include "diag.h"
#include <errno.h>
@@ -23,7 +24,7 @@
#endif
#define thread_verify(expr, cond) \
- bfs_verify((errno = (expr), (cond)), "%s: %s", #expr, strerror(errno))
+ bfs_verify((errno = (expr), (cond)), "%s: %s", #expr, xstrerror(errno))
/**
* Wrapper for pthread_create().