summaryrefslogtreecommitdiff
path: root/libfec
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-05 23:11:36 -0700
committerTao Bao <tbao@google.com>2016-10-09 08:58:56 -0700
commit7f46e03817817320149ee94b639eab4635566e12 (patch)
treeef3236104a304ba56a57b747115c1168eb70503d /libfec
parent018ef1be61e749d0fbe0f05179a4f0f9b858ae57 (diff)
downloadextras-7f46e03817817320149ee94b639eab4635566e12.tar.gz
libfec: Update the header path for ext4_utils.
Test: mmma system/extras/libfec Change-Id: I28b71419019c3bb0873b159e178cdfcfb5d89922
Diffstat (limited to 'libfec')
-rw-r--r--libfec/Android.mk1
-rw-r--r--libfec/fec_open.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/libfec/Android.mk b/libfec/Android.mk
index b92dd4e7..283019c0 100644
--- a/libfec/Android.mk
+++ b/libfec/Android.mk
@@ -7,7 +7,6 @@ common_cflags := -Wall -Werror -O3
common_c_includes := \
$(LOCAL_PATH)/include \
external/fec \
- system/extras/ext4_utils \
system/extras/squashfs_utils
common_src_files := \
diff --git a/libfec/fec_open.cpp b/libfec/fec_open.cpp
index caec3704..45e0c263 100644
--- a/libfec/fec_open.cpp
+++ b/libfec/fec_open.cpp
@@ -18,9 +18,10 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
+#include <ext4_utils/ext4_sb.h>
+
extern "C" {
#include <squashfs_utils.h>
- #include <ext4_sb.h>
}
#if defined(__linux__)