diff --git a/libc/Android.mk b/libc/Android.mk index 25de501f5..2046beac3 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -512,6 +512,7 @@ LOCAL_SRC_FILES := $(call all-c-files-under,dns) LOCAL_CFLAGS := \ $(libc_common_cflags) \ -DINET6 \ + -I$(LOCAL_PATH)/dns/include \ -I$(LOCAL_PATH)/private \ -I$(LOCAL_PATH)/upstream-netbsd/lib/libc/include # for NetBSD private headers LOCAL_CONLYFLAGS := $(libc_common_conlyflags) diff --git a/libc/private/nsswitch.h b/libc/dns/include/nsswitch.h similarity index 100% rename from libc/private/nsswitch.h rename to libc/dns/include/nsswitch.h diff --git a/libc/private/resolv_cache.h b/libc/dns/include/resolv_cache.h similarity index 100% rename from libc/private/resolv_cache.h rename to libc/dns/include/resolv_cache.h diff --git a/libc/private/resolv_iface.h b/libc/dns/include/resolv_iface.h similarity index 100% rename from libc/private/resolv_iface.h rename to libc/dns/include/resolv_iface.h diff --git a/libc/private/resolv_private.h b/libc/dns/include/resolv_private.h similarity index 100% rename from libc/private/resolv_private.h rename to libc/dns/include/resolv_private.h diff --git a/libc/private/resolv_static.h b/libc/dns/include/resolv_static.h similarity index 100% rename from libc/private/resolv_static.h rename to libc/dns/include/resolv_static.h