forked from vitalif/vitastor
Add extern "C" for systems like Gentoo which miss it in jerasure includes
parent
101592bbff
commit
675bc12a13
|
@ -4,11 +4,13 @@
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
extern "C" {
|
||||||
#include <reed_sol.h>
|
#include <reed_sol.h>
|
||||||
#include <jerasure.h>
|
#include <jerasure.h>
|
||||||
#ifdef WITH_ISAL
|
#ifdef WITH_ISAL
|
||||||
#include <isa-l/erasure_code.h>
|
#include <isa-l/erasure_code.h>
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "allocator.h"
|
#include "allocator.h"
|
||||||
#include "xor.h"
|
#include "xor.h"
|
||||||
|
|
Loading…
Reference in New Issue