From c184d5655ac126c781e940f1a77a3448d2351b78 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 18 Dec 2014 15:47:09 -0800 Subject: #include for htonl. Not sure why this only shows up with clang. Change-Id: Id5603483e32f8a8d4b091dbb31b3142e3f77deac --- debuggerd/Android.mk | 2 ++ debuggerd/tombstone.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk index 1b8b98d..0cf2818 100644 --- a/debuggerd/Android.mk +++ b/debuggerd/Android.mk @@ -28,6 +28,8 @@ LOCAL_SHARED_LIBRARIES := \ liblog \ libselinux \ +LOCAL_CLANG := true + LOCAL_MODULE := debuggerd LOCAL_MODULE_STEM_32 := debuggerd LOCAL_MODULE_STEM_64 := debuggerd64 diff --git a/debuggerd/tombstone.cpp b/debuggerd/tombstone.cpp index 0c1b80f..38e9d17 100644 --- a/debuggerd/tombstone.cpp +++ b/debuggerd/tombstone.cpp @@ -16,6 +16,7 @@ #define LOG_TAG "DEBUG" +#include #include #include #include -- cgit v1.1