aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-05-13 21:29:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-13 21:29:11 +0000
commit1cff6731f916e07dc13ab4765d480c87ee590cd7 (patch)
treee0f7d1445aac545673da0ff7d264e5eb0834ac87
parent9c993df942bba4476200aace0e69590bdf9a6a88 (diff)
parentd0884825457b7117aa93514786b95731e2cb08d8 (diff)
downloaddhcpcd-6.8.2-1cff6731f916e07dc13ab4765d480c87ee590cd7.tar.gz
Make dhcpcd-6.8.2 admit that it uses BSD extensions.
am: d088482545 * commit 'd0884825457b7117aa93514786b95731e2cb08d8': Make dhcpcd-6.8.2 admit that it uses BSD extensions. Change-Id: Ifd52e53f69050e9d20dc8b29f373e4c4d4a3e557
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4ae22f6..2a41dd5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -47,6 +47,8 @@ LOCAL_SRC_FILES := \
# Always support IPv4.
LOCAL_CFLAGS += -DINET
+LOCAL_CFLAGS += -D_BSD_SOURCE
+
ifeq ($(DHCPCD_USE_IPV6), yes)
LOCAL_SRC_FILES += ipv6.c ipv6nd.c dhcp6.c
LOCAL_SRC_FILES += crypt/sha256.c