Use header_libs instead of include_dirs for resolv
include libnetd_client_headers explicitly
Bug: 135235267
Test: m
cd system/netd && atest
Change-Id: Iaeff2072ad0dcab8e42429cc4ae21f2dc3618004
diff --git a/DnsResolverService.cpp b/DnsResolverService.cpp
index 1ac467f..8319832 100644
--- a/DnsResolverService.cpp
+++ b/DnsResolverService.cpp
@@ -21,19 +21,17 @@
#include <set>
#include <vector>
+#include <BinderUtil.h>
#include <android-base/stringprintf.h>
#include <android-base/strings.h>
#include <android/binder_manager.h>
#include <android/binder_process.h>
-#include <json/value.h>
-#include <json/writer.h>
#include <log/log.h>
#include <netdutils/DumpWriter.h>
#include <netdutils/NetworkConstants.h> // SHA256_SIZE
#include <openssl/base64.h>
#include <private/android_filesystem_config.h> // AID_SYSTEM
-#include "BinderUtil.h"
#include "DnsResolver.h"
#include "NetdPermissions.h" // PERM_*
#include "ResolverEventReporter.h"