Add extern "C" for systems like Gentoo which miss it in jerasure includes

rm-left-on-dead
Vitaliy Filippov 2022-06-05 00:33:38 +03:00
parent 101592bbff
commit 675bc12a13
1 changed files with 2 additions and 0 deletions

View File

@ -4,11 +4,13 @@
#include <stdexcept>
#include <string.h>
#include <assert.h>
extern "C" {
#include <reed_sol.h>
#include <jerasure.h>
#ifdef WITH_ISAL
#include <isa-l/erasure_code.h>
#endif
}
#include <map>
#include "allocator.h"
#include "xor.h"