summaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/Android.mk2
-rw-r--r--debuggerd/tombstone.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk
index 1b8b98d95..0cf281887 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 0c1b80fdc..38e9d17ef 100644
--- a/debuggerd/tombstone.cpp
+++ b/debuggerd/tombstone.cpp
@@ -16,6 +16,7 @@
#define LOG_TAG "DEBUG"
+#include <arpa/inet.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>