Add extern "C" for systems like Gentoo which miss it in jerasure includes
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user