summaryrefslogtreecommitdiff
path: root/verity
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-08-10 14:51:20 -0700
committerElliott Hughes <enh@google.com>2015-08-10 14:51:20 -0700
commit3adbe0f59610db9d870c62f85119182fa1d662f6 (patch)
treef0b30f0a57ce9147429d826ccf64b4e594c8c25b /verity
parentb699685ebd33f48c11c5cedcc2743efc374a682c (diff)
downloadextras-3adbe0f59610db9d870c62f85119182fa1d662f6.tar.gz
Another go at fixing the Mac build.
I don't want to have to work out how to disable building OTAs on Macs -- though we should -- but it actually looks like this file didn't need the problematic header file anyway. Change-Id: I9d7eff8e72192958b3e880ae48fef194820ce148
Diffstat (limited to 'verity')
-rw-r--r--verity/Android.mk4
-rw-r--r--verity/verify_boot_signature.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/verity/Android.mk b/verity/Android.mk
index 1d0574f3..bbe74bb1 100644
--- a/verity/Android.mk
+++ b/verity/Android.mk
@@ -1,7 +1,5 @@
LOCAL_PATH:= $(call my-dir)
-ifeq ($(HOST_OS),linux)
-
include $(CLEAR_VARS)
LOCAL_MODULE := verify_boot_signature
LOCAL_SRC_FILES := verify_boot_signature.c
@@ -103,5 +101,3 @@ LOCAL_STATIC_LIBRARIES := libsparse_host libz
LOCAL_SHARED_LIBRARIES := libcrypto-host libbase
LOCAL_CFLAGS += -Wall -Werror
include $(BUILD_HOST_EXECUTABLE)
-
-endif # HOST_OS == linux
diff --git a/verity/verify_boot_signature.c b/verity/verify_boot_signature.c
index 58b7a194..62c87da3 100644
--- a/verity/verify_boot_signature.c
+++ b/verity/verify_boot_signature.c
@@ -16,7 +16,6 @@
#define _LARGEFILE64_SOURCE
-#include <endian.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>