Add dnsproxyd_protocol_headers for NETID_USE_LOCAL_NAMESERVERS

NETID_USE_LOCAL_NAMESERVERS is no longer in libnetd_client

Bug: 151895202
Test: build
Change-Id: Iea0c2488dcabdd24d6ffca8134cd11ed12e8308a
This commit is contained in:
Luke Huang
2020-05-28 15:41:46 +08:00
parent d2a91e2416
commit 141ec9686c
2 changed files with 7 additions and 3 deletions

View File

@@ -271,7 +271,10 @@ cc_library_shared {
// our headers include libnativewindow's public headers
"libnativewindow",
],
header_libs: ["bionic_libc_platform_headers"],
header_libs: [
"bionic_libc_platform_headers",
"dnsproxyd_protocol_headers",
],
},
host: {
cflags: [

View File

@@ -27,12 +27,13 @@
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <DnsProxydProtocol.h> // NETID_USE_LOCAL_NAMESERVERS
#include <android_runtime/AndroidRuntime.h>
#include <cutils/properties.h>
#include <utils/misc.h>
#include <utils/Log.h>
#include <nativehelper/JNIHelp.h>
#include <nativehelper/ScopedLocalRef.h>
#include <utils/Log.h>
#include <utils/misc.h>
#include "NetdClient.h"
#include "core_jni_helpers.h"