Commit 4da10dd0 authored by David 'Digit' Turner's avatar David 'Digit' Turner
Browse files

Use <resolv_iface.h> instead of <resolv.h>

The declarations for _resolv_set_default_iface() and others were
initially added to a public C library header (<resolv.h>). This was a
mistake and they have been moved to a private header
(bionic/libc/private/resolv_iface.h)

This patch updates netd to use the correct private header.

Change-Id: I186390ea3675685b4e0dd5b8a099bd21911f059e
parent 5ea0c05a
......@@ -29,6 +29,7 @@ LOCAL_C_INCLUDES := $(KERNEL_HEADERS) \
external/openssl/include \
external/stlport/stlport \
bionic \
bionic/libc/private \
$(call include-path-for, libhardware_legacy)/hardware_legacy
LOCAL_CFLAGS :=
......
......@@ -20,7 +20,10 @@
#include <cutils/log.h>
#include <linux/if.h>
#include <resolv.h>
// NOTE: <resolv_iface.h> is a private C library header that provides
// declarations for _resolv_set_default_iface() and others.
#include <resolv_iface.h>
#include "ResolverController.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment