summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTushar Gohad <tushar.gohad@intel.com>2015-11-19 17:47:43 +0000
committerTushar Gohad <tushar.gohad@intel.com>2015-11-19 17:47:43 +0000
commitd3389998c4a227434360f48b59581b721f18f10e (patch)
tree26ab2a0e307b798f1134774f10f3fab737e649e4 /src
parent47f0aa01e63fd35a2c59e40207712e2cb0064ff4 (diff)
downloadpyeclib-d3389998c4a227434360f48b59581b721f18f10e.tar.gz
Include liberasurecode_helpers.h for backward compatibility
... for folks trying to build pyeclib with liberasurecode versions prior to 1.1.0
Diffstat (limited to 'src')
-rw-r--r--src/c/pyeclib_c/pyeclib_c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/pyeclib_c/pyeclib_c.c b/src/c/pyeclib_c/pyeclib_c.c
index 6af5b49..ea6ac30 100644
--- a/src/c/pyeclib_c/pyeclib_c.c
+++ b/src/c/pyeclib_c/pyeclib_c.c
@@ -29,6 +29,10 @@
#include <bytesobject.h>
#include <liberasurecode/erasurecode.h>
+#if ( LIBERASURECODE_VERSION < _VERSION(1,1,0) )
+#include <liberasurecode/erasurecode_helpers.h>
+#endif
+
/* Compat layer for python <= 2.6 */
#include "capsulethunk.h"