diff --git a/recovery/Android.mk b/recovery/Android.mk index 11baeb2..1025c09 100644 --- a/recovery/Android.mk +++ b/recovery/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_C_INCLUDES := $(call project-path-for,recovery) \ + $(call project-path-for,recovery)/edify/include \ + $(call project-path-for,recovery)/otautil/include \ $(call project-path-for,recovery)/updater/include LOCAL_SRC_FILES := recovery_updater.cpp LOCAL_MODULE := librecovery_updater_samsung diff --git a/recovery/recovery_updater.cpp b/recovery/recovery_updater.cpp index 83d4959..5616c40 100644 --- a/recovery/recovery_updater.cpp +++ b/recovery/recovery_updater.cpp @@ -27,6 +27,7 @@ #include #include "edify/expr.h" +#include "otautil/error_code.h" #include "updater/install.h" #define MAX(a, b) (((a) > (b)) ? (a) : (b))