From 5da76e4585652f2aa082f3ad1382eb36924bf340 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Thu, 30 May 2024 18:02:05 -0700 Subject: [PATCH] Fix linux build --- FdbVersionedMap.cpp | 5 ++++- Internal.h | 1 + symbol-imports.txt | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/FdbVersionedMap.cpp b/FdbVersionedMap.cpp index e7ff1ef..15b30ad 100644 --- a/FdbVersionedMap.cpp +++ b/FdbVersionedMap.cpp @@ -1,7 +1,10 @@ #include "Internal.h" #include "KeyCompare.h" #include "VersionedMap.h" + #include +#include +#include // FDB implementation adapted to compile outside of FDB @@ -1443,4 +1446,4 @@ int64_t VersionedMap::getBytes() const { // TODO return -1; } -} // namespace weaselab \ No newline at end of file +} // namespace weaselab diff --git a/Internal.h b/Internal.h index 241332c..e58c9bc 100644 --- a/Internal.h +++ b/Internal.h @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include diff --git a/symbol-imports.txt b/symbol-imports.txt index c4ec51a..14ba339 100644 --- a/symbol-imports.txt +++ b/symbol-imports.txt @@ -4,6 +4,7 @@ __errno_location@GLIBC_2.2.5 fclose@GLIBC_2.2.5 fflush@GLIBC_2.2.5 fopen@GLIBC_2.2.5 +fprintf@GLIBC_2.2.5 __fprintf_chk@GLIBC_2.3.4 fread@GLIBC_2.2.5 free@GLIBC_2.2.5