summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTushar Gohad <tushar.gohad@intel.com>2015-09-20 19:52:30 +0000
committerTushar Gohad <tushar.gohad@intel.com>2015-09-22 21:47:15 +0000
commit398c48c95d532906e470f7b8559ac4d043717d20 (patch)
tree8a4f790d4e66d42272802de9bc215c947ec60578 /test
parentbca105ccd31777a1b2cb956f61aeb03cc79664aa (diff)
downloadliberasurecode-398c48c95d532906e470f7b8559ac4d043717d20.tar.gz
Split helpers.h include for backward compatibility
Users of liberasurecode <= 1.0.7 used alloc/free helpers (which they shouldn't have). This change is to make sure we are still able to those older revs of programs and they work with newer liberasurecode.
Diffstat (limited to 'test')
-rw-r--r--test/libec_slap.c1
-rw-r--r--test/liberasurecode_test.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/libec_slap.c b/test/libec_slap.c
index ac69ee4..63640a7 100644
--- a/test/libec_slap.c
+++ b/test/libec_slap.c
@@ -42,6 +42,7 @@
#include <assert.h>
#include "erasurecode.h"
#include "erasurecode_helpers.h"
+#include "erasurecode_helpers_ext.h"
#include "builtin/xor_codes/test_xor_hd_code.h"
struct frag_array_set {
diff --git a/test/liberasurecode_test.c b/test/liberasurecode_test.c
index 875ab96..b5239a9 100644
--- a/test/liberasurecode_test.c
+++ b/test/liberasurecode_test.c
@@ -30,6 +30,7 @@
#include <stdbool.h>
#include "erasurecode.h"
#include "erasurecode_helpers.h"
+#include "erasurecode_helpers_ext.h"
#include "erasurecode_preprocessing.h"
#include "erasurecode_backend.h"
#include "alg_sig.h"