aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-05-13 13:23:20 -0700
committerElliott Hughes <enh@google.com>2016-05-13 13:23:20 -0700
commitd0884825457b7117aa93514786b95731e2cb08d8 (patch)
treee0f7d1445aac545673da0ff7d264e5eb0834ac87
parent9c993df942bba4476200aace0e69590bdf9a6a88 (diff)
downloaddhcpcd-6.8.2-d0884825457b7117aa93514786b95731e2cb08d8.tar.gz
Not to be confused with external/dhcpcd. Of course we have two copies... Change-Id: Ifa2393815ba020cd3bc108abeef9d79a083889dc
-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