summaryrefslogtreecommitdiffstats
path: root/src/bfstd.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-15 16:07:05 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-16 11:42:26 -0400
commit5e8a7a882eb056f7fc02736f2e92547f269ee553 (patch)
tree8fb9556cff85ad150963db2fd13cf7fbc91901bf /src/bfstd.h
parent5fd4fa21d3852525096ceaa5ac4f64d78ac99de7 (diff)
downloadbfs-5e8a7a882eb056f7fc02736f2e92547f269ee553.tar.xz
Work around https://github.com/llvm/llvm-project/issues/88163
Diffstat (limited to 'src/bfstd.h')
-rw-r--r--src/bfstd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bfstd.h b/src/bfstd.h
index f91e380..d06bbd9 100644
--- a/src/bfstd.h
+++ b/src/bfstd.h
@@ -410,6 +410,11 @@ char *xconfstr(int name);
*/
int xstrtofflags(const char **str, unsigned long long *set, unsigned long long *clear);
+/**
+ * Wrapper for sysconf() that works around an MSan bug.
+ */
+long xsysconf(int name);
+
#include <wchar.h>
/**