diff --git a/libeasy/Makefile b/libeasy/Makefile
index 3cfe1e8a618cde98359cf476bd48802b563c1e9e..94de54237f91cab7ee9e3cb200d69b0d311dde0a 100644
--- a/libeasy/Makefile
+++ b/libeasy/Makefile
@@ -23,6 +23,14 @@ PKG_LICENSE_FILES:=LICENSE
 
 include $(INCLUDE_DIR)/package.mk
 
+TARGET_CFLAGS += \
+	-I$(STAGING_DIR)/usr/include \
+	-I$(STAGING_DIR)/usr/include/openssl \
+	-I$(STAGING_DIR)/usr/include/libnl3
+
+MAKE_FLAGS += \
+	CFLAGS="$(TARGET_CFLAGS) -Wall"
+
 define Package/libeasy
   SECTION:=libs
   CATEGORY:=Libraries