aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 8a5a9b2..36ab085 100644
--- a/Android.mk
+++ b/Android.mk
@@ -52,6 +52,8 @@ else
LOCAL_SRC_FILES += script-stub.c
endif
+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