From 16d3225da04a18017d11e80581b5eb4642f80358 Mon Sep 17 00:00:00 2001 From: smlng Date: Thu, 8 Feb 2018 15:18:32 +0100 Subject: [PATCH] pkg/tinydtls: fix for arm-none-eabi newlib 2.4.x --- pkg/tinydtls/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/tinydtls/Makefile b/pkg/tinydtls/Makefile index e5d6c9934e..dbe28966a9 100644 --- a/pkg/tinydtls/Makefile +++ b/pkg/tinydtls/Makefile @@ -5,6 +5,9 @@ PKG_VERSION=eb6f017ab451bb6cc4428b3e449955a76aeeba19 PKG_LICENSE=EPL-1.0,EDL-1.0 CFLAGS += -Wno-implicit-fallthrough +# following is require due to known issue with newlib 2.4.x, see bug report: +# http://lists-archives.com/cygwin/97008-gettimeofday-not-defined.html +CFLAGS += -D_XOPEN_SOURCE=600 .PHONY: all