am fe685787: Merge "Fix userdebug build."
* commit 'fe68578716290d93fd42005622adade8d345de3c':
Fix userdebug build.
diff --git a/adb/Android.mk b/adb/Android.mk
index dd32ad1..7317339 100644
--- a/adb/Android.mk
+++ b/adb/Android.mk
@@ -161,14 +161,17 @@
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
+LOCAL_C_INCLUDES += system/extras/ext4_utils system/core/fs_mgr/include
LOCAL_STATIC_LIBRARIES := \
libadb \
+ libfs_mgr \
liblog \
libcutils \
libc \
libmincrypt \
libselinux \
+ libext4_utils_static \
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
diff --git a/adb/set_verity_enable_state_service.c b/adb/set_verity_enable_state_service.c
index 051b9a4..2660ddd 100644
--- a/adb/set_verity_enable_state_service.c
+++ b/adb/set_verity_enable_state_service.c
@@ -26,6 +26,8 @@
#include <inttypes.h>
#include "cutils/properties.h"
+#include "ext4_sb.h"
+#include <fs_mgr.h>
#define FSTAB_PREFIX "/fstab."
struct fstab *fstab;